usb: gadget: tegra-xudc: Fix control endpoint's definitions
authorWayne Chang <waynec@nvidia.com>
Fri, 7 Jan 2022 09:13:49 +0000 (17:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Jan 2022 12:58:08 +0000 (13:58 +0100)
commit7bd42fb95eb4f98495ccadf467ad15124208ec49
tree9f5cee3d0217eb9c7859fb9efe84a067f429fc13
parentd6dd18efd01fc64bc3d1df0d18ad67f854e6e137
usb: gadget: tegra-xudc: Fix control endpoint's definitions

According to the Tegra Technical Reference Manual, the seq_num
field of control endpoint is not [31:24] but [31:27]. Bit 24
is reserved and bit 26 is splitxstate.

The change fixes the wrong control endpoint's definitions.

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