Skip to content

Commit 129bd47

Browse files
buytenhgregkh
authored andcommitted
USB: ehci-orion: the Orion EHCI root hub does have a Transaction Translator
Commit 7329e21 ("USB: root hubs don't lie about their number of TTs") requires the various platform EHCI glue modules to set ->has_tt if the root hub has a Transaction Translator. The Orion EHCI root hub does have a Transaction Translator, so set ->has_tt in ehci_orion_setup(). This fixes oopsing on plugging in a low speed device. Signed-off-by: Lennert Buytenhek <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Acked-by: David Brownell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 8207823 commit 129bd47

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/usb/host/ehci-orion.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ static int ehci_orion_setup(struct usb_hcd *hcd)
115115
if (retval)
116116
return retval;
117117

118+
hcd->has_tt = 1;
119+
118120
ehci_reset(ehci);
119121
ehci_port_power(ehci, 0);
120122

0 commit comments

Comments
 (0)