]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: ohci: Remove unnecessary delays from hc_start and power power-on paths
authorHans de Goede <hdegoede@redhat.com>
Sun, 10 May 2015 12:10:23 +0000 (14:10 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:39:38 +0000 (22:39 +0200)
commit7760dc45e24a4092cbbe49b89018b46dfbf82dbe
treeb3bc891d8a237c08de7e43b307aba9889e154260
parent3dfaa8bb8ab6f8537929142a204a7885c6abcbd7
usb: ohci: Remove unnecessary delays from hc_start and power power-on paths

The usb spec says that we must wait a minimum amount of time after port
power on (exact time is in the hub descriptor), this is something which
we must not only do for root ports but also for external hub ports, which
is why the common usb_hub code already waits a full second after powering
up ports. Having a separate wait for just the root hub in the ohci-hcd
code only leads to doing the waiting twice for the root ports, so drop the
wait from the ohci-hcd code.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/usb/host/ohci-hcd.c