You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
The commit e4f47e3675 ("USB: xHCI: override bogus bulk
wMaxPacketSize values") said that some xHCI controllers
can't handle a HS bulk endpoint having a wMaxPacketSize
value smaller than 512, which is forbidden by the USB spec.
And it changes the max_packet value to 512, which allows
the controller to use the endpoint properly.
Actually, the xHCI version 1.1 can support to handle
a HS bulk endpoint having a wMaxPacketSize value smaller
than 512, and some HS devices (e.g. USB Printer VID:PID=
0x154F:0x154F) bulk endpoints actually only support a
maximum transmission of 64 bytes. If we changes the maximum
packet value to 512, these devices are unable to receive
data properly.
So this patch allows xHCI controller above version 1.0 to
support HS bulk max packet smaller than 512.
Change-Id: Ic93efb890e1df2b3313d3cfc5dbbe602a7146b2e
Signed-off-by: William Wu <william.wu@rock-chips.com>