diff options
| author | Douglas Gilbert <[email protected]> | 2015-11-16 18:22:08 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2015-11-17 17:35:49 +0000 |
| commit | d134c48d889ddceadf4c990e6f3df16b816ed5d4 (patch) | |
| tree | 13fa3441bafe3bd18753bb4bacd9823943ec6146 /drivers/usb/chipidea/debug.c | |
| parent | usb: musb: enable usb_dma parameter (diff) | |
| download | kernel-d134c48d889ddceadf4c990e6f3df16b816ed5d4.tar.gz kernel-d134c48d889ddceadf4c990e6f3df16b816ed5d4.zip | |
usb: gadget: atmel_usba_udc: Expose correct device speed
Following changes that appeared in lk 4.0.0, the gadget udc driver for
some ARM based Atmel SoCs (e.g. at91sam9x5 and sama5d3 families)
incorrectly deduced full-speed USB link speed even when the hardware
had negotiated a high-speed link. The fix is to make sure that the
UDPHS Interrupt Enable Register value does not mask the SPEED bit
in the Interrupt Status Register.
For a mass storage gadget this problem lead to failures when the host
had a USB 3 port with the xhci_hcd driver. If the host was a USB 2
port using the ehci_hcd driver then the mass storage gadget worked
(but probably at a lower speed than it should have).
Signed-off-by: Douglas Gilbert <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Cc: <[email protected]> #4.0+
Fixes: 9870d895ad87 ("usb: atmel_usba_udc: Mask status with enabled irqs")
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/usb/chipidea/debug.c')
0 files changed, 0 insertions, 0 deletions
