usb: gadget: tegra-xudc: Do not program SPARAM
authorWayne Chang <waynec@nvidia.com>
Fri, 7 Jan 2022 09:04:43 +0000 (17:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Jan 2022 12:57:37 +0000 (13:57 +0100)
commit62fb61580eb48fc890b7bc9fb5fd263367baeca8
tree785902557eec990b4c541e9050933ca5eff85bbe
parent75c19f487fcd59b28e83e64a6563fc4c69ad377d
usb: gadget: tegra-xudc: Do not program SPARAM

According to the Tegra Technical Reference Manual, SPARAM
is a read-only register and should not be programmed in
the driver.

The change removes the wrong SPARAM usage.

Signed-off-by: Wayne Chang <waynec@nvidia.com>
Link: https://lore.kernel.org/r/20220107090443.149021-1-waynec@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/tegra-xudc.c