]> git.baikalelectronics.ru Git - kernel.git/commit
USB: EHCI restart speedup
authorMarcelo Tosatti <marcelo@kvack.org>
Tue, 21 Aug 2007 01:13:27 +0000 (18:13 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:18 +0000 (14:55 -0700)
commit316701e5583531476a9f759bcdb9d4bee25c32d2
tree16117f9e46917e374c0f857d798cb5bcb46f6771
parentff6ec9f220c33f1418252c0029b607269a73e80e
USB: EHCI restart speedup

It is not necessary to powerdown the ports on ehci_pci_reinit() when the
chip reset already did that.  Removing this saves 20ms during restart
after poweroff paths (which OLPC uses a lot).

To ensure driver startup then behaves consistently, force a reset during
driver startup.  (Not doing this was an accident of some previous changes
to the init sequence.)

Make the corresponding change in the PS3 support.  It's not clear what
ehci-fsl should do here; it has similar code to the PS3.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: <rvinson@mvista.com>
Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-pci.c
drivers/usb/host/ehci-ps3.c