]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit6273f1810f95f4deeb2f0d6810f301726ad32308
tree202135972f6010f17312103e05642bbbed3cda07
parente8cebb9cde3716800219ea8473306d431e83154b
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