diff options
author | Chunfeng Yun <[email protected]> | 2021-08-13 14:30:51 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-08-13 13:05:50 +0200 |
commit | eeb0cfb6b2b6b731902e68af641e30bd31be3c7b (patch) | |
tree | ff01e5d5c0c9281dd97f10359b84c9560fd8d5a6 /scripts/gdb/linux/utils.py | |
parent | e9ab75f26eb9354dfc03aea3401b8cfb42cd6718 (diff) |
usb: gadget: tegra-xudc: fix the wrong mult value for HS isoc or intr
usb_endpoint_maxp() only returns the bit[10:0] of wMaxPacketSize
of endpoint descriptor, not includes bit[12:11] anymore, so use
usb_endpoint_maxp_mult() instead.
Meanwhile no need AND 0x7ff when get maxp, remove it.
Fixes: 49db427232fe ("usb: gadget: Add UDC driver for tegra XUSB device mode controller")
Cc: [email protected]
Acked-by: Felipe Balbi <[email protected]>
Signed-off-by: Chunfeng Yun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions