mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
usb: musb: core: set has_tt flag
commitec95d35a6bupstream. MUSB is a non-standard host implementation which can handle all speeds with the same core. We need to set has_tt flag after commitd199c96d41(USB: prevent buggy hubs from crashing the USB stack) in order for MUSB HCD to continue working. Signed-off-by: Felipe Balbi <balbi@ti.com> Cc: Alan Stern <stern@rowland.harvard.edu> Tested-by: Michael Jones <michael.jones@matrix-vision.de> Tested-by: Alexander Holler <holler@ahsoftware.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
162231ba4b
commit
49abf47d18
@@ -1792,6 +1792,7 @@ allocate_instance(struct device *dev,
|
||||
INIT_LIST_HEAD(&musb->out_bulk);
|
||||
|
||||
hcd->uses_new_polling = 1;
|
||||
hcd->has_tt = 1;
|
||||
|
||||
musb->vbuserr_retry = VBUSERR_RETRY_COUNT;
|
||||
musb->a_wait_bcon = OTG_TIME_A_WAIT_BCON;
|
||||
|
||||
Reference in New Issue
Block a user