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 18:02:57 +0000 (20:02 +0200)
commita8ea8a233ccffcaa12e30d99bc4d613a608a7ae6
tree4397a0f3506d5fc900dfc037547ca9d4ba8711fc
parent6eb6f430d12b02b265e5b674a81d691e24c1828e
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