Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec95d35a authored by Felipe Balbi's avatar Felipe Balbi Committed by Greg Kroah-Hartman
Browse files

usb: musb: core: set has_tt flag



MUSB is a non-standard host implementation which
can handle all speeds with the same core. We need
to set has_tt flag after commit
d199c96d (USB: prevent
buggy hubs from crashing the USB stack) in order for
MUSB HCD to continue working.

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Cc: stable <stable@kernel.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Tested-by: default avatarMichael Jones <michael.jones@matrix-vision.de>
Tested-by: default avatarAlexander Holler <holler@ahsoftware.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8212a49d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1864,6 +1864,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;