On Thu, 29 Mar 2012, Peter Chen wrote: > It displays wrong debug message if we plug in a full/low > speed device at port for builtin TT controller. We can get > device/port speed information at following code of hub_port_init, > so it is better to replace it with debug message of "reset complete". > > CC: <stable@xxxxxxxxxxxxxxx> > Signed-off-by: Peter Chen <peter.chen@xxxxxxxxxxxxx> > --- > drivers/usb/host/ehci-hub.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c > index 256fbd4..8f57c6e 100644 > --- a/drivers/usb/host/ehci-hub.c > +++ b/drivers/usb/host/ehci-hub.c > @@ -536,7 +536,8 @@ static int check_reset_complete ( > if (ehci->has_amcc_usb23) > set_ohci_hcfs(ehci, 1); > } else { > - ehci_dbg (ehci, "port %d high speed\n", index + 1); > + ehci_dbg(ehci, "port %d reset complete, port enabled\n", > + index + 1); > /* ensure 440EPx ohci controller state is suspended */ > if (ehci->has_amcc_usb23) > set_ohci_hcfs(ehci, 0); Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html