Skip to content

Commit

Permalink
USB: ehci-orion: the Orion EHCI root hub does have a Transaction Tran…
Browse files Browse the repository at this point in the history
…slator

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 <buytenh@marvell.com>
Acked-by: Nicolas Pitre <nico@marvell.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Lennert Buytenhek authored and Greg Kroah-Hartman committed May 20, 2008
1 parent 8207823 commit 129bd47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/usb/host/ehci-orion.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ static int ehci_orion_setup(struct usb_hcd *hcd)
if (retval)
return retval;

hcd->has_tt = 1;

ehci_reset(ehci);
ehci_port_power(ehci, 0);

Expand Down

0 comments on commit 129bd47

Please sign in to comment.