]> git.baikalelectronics.ru Git - kernel.git/commit
USB: EHCI: add condition for delay during the resume
authorPeter Chen <peter.chen@freescale.com>
Thu, 18 Oct 2012 04:24:43 +0000 (12:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 21:40:50 +0000 (14:40 -0700)
commit1b894d4a6e9340234ff4948dd22adb62498f7f0f
tree202135972f6010f17312103e05642bbbed3cda07
parent819d682d9df7599a8082d96821974a25e374ec20
USB: EHCI: add condition for delay during the resume

Without this condition, all controllers will do this delay,
and increase the resume time.

Only enabled and unsuspended port needs this delay, but
Some buggy hardware(like Synopsys usb controller) will
clear suspend bit once they receive/send resume signal,
so it takes resume bit as consideration.

Tested it at Freescale i.mx6q Sabrelite board.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-hub.c