mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
usb: musb: host: Fix SuperSpeed hub enumeration
Disables PING on status phase of control transfer. PING token is not mandatory in status phase of control transfer and so some high speed USB devices don't support it. If such devices are connected to MUSB then they would not respond to PING token causing delayed or failed enumeration. [Roger Q] Fixes enumeration issues with some Super-Speed USB hubs e.g. Dlink DUB-1340 Signed-off-by: Ajay Kumar Gupta <[email protected]> Signed-off-by: Roger Quadros <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
This commit is contained in:
parent
30a70b026b
commit
3c4653c1f6
1 changed files with 3 additions and 0 deletions
|
|
@ -1183,6 +1183,9 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb)
|
|||
csr = MUSB_CSR0_H_STATUSPKT
|
||||
| MUSB_CSR0_TXPKTRDY;
|
||||
|
||||
/* disable ping token in status phase */
|
||||
csr |= MUSB_CSR0_H_DIS_PING;
|
||||
|
||||
/* flag status stage */
|
||||
musb->ep0_stage = MUSB_EP0_STATUS;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue