diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2017-03-07 16:55:50 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-03-07 16:55:50 -0800 |
| commit | ac95e8f4e5084a9d22a7c2d114c38e0969253536 (patch) | |
| tree | c865264e9c0ff26d2b2450e15453a90560a750d2 | |
| parent | e994a9c99de3af672eeee38f0b8304d8166e7e75 (diff) | |
| parent | 3e96eebc6baddacacc75f1694f06b685e0ad2b63 (diff) | |
Merge "usb: xhci: Set bulk EP maxpacket to 8 for buggy FS devices"
| -rw-r--r-- | drivers/usb/host/xhci-mem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c index 098df6ced1c3..8e5ab373dce9 100644 --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c @@ -1476,6 +1476,8 @@ int xhci_endpoint_init(struct xhci_hcd *xhci, } break; case USB_SPEED_FULL: + if (usb_endpoint_xfer_bulk(&ep->desc) && max_packet < 8) + max_packet = 8; case USB_SPEED_LOW: break; default: |
