diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2021-08-13 14:30:51 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-12 08:58:28 +0200 |
commit | c75e2fd0d3c5248d7211649a508fc32dcfc11e2e (patch) | |
tree | 765bca70e1aae5d0b1f359f1264ed20aea24a99e /block/blk-rq-qos.c | |
parent | d544c9a2190a4beff995be6a74a750dd5a8d7676 (diff) | |
download | kernel_replicant_linux-c75e2fd0d3c5248d7211649a508fc32dcfc11e2e.tar.gz kernel_replicant_linux-c75e2fd0d3c5248d7211649a508fc32dcfc11e2e.tar.bz2 kernel_replicant_linux-c75e2fd0d3c5248d7211649a508fc32dcfc11e2e.zip |
usb: gadget: tegra-xudc: fix the wrong mult value for HS isoc or intr
commit eeb0cfb6b2b6b731902e68af641e30bd31be3c7b upstream.
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: stable@vger.kernel.org
Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1628836253-7432-5-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/blk-rq-qos.c')
0 files changed, 0 insertions, 0 deletions