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, 13 Apr 2022 19:00:55 +0000 (21:00 +0200)
commit07971b818e18b8b61245be270acc861386f7479d
tree3e096e4cc012f241cc17507a0269b036b53d5f6c
parent927beb05aaa429c883cc0ec6adc48964b187e291
usb: gadget: tegra-xudc: Do not program SPARAM

[ Upstream commit 62fb61580eb48fc890b7bc9fb5fd263367baeca8 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/gadget/udc/tegra-xudc.c