]> git.baikalelectronics.ru Git - kernel.git/commit
USB: EHCI: Fix resume signalling on remote wakeup
authorRoger Quadros <rogerq@ti.com>
Tue, 9 Jul 2013 14:03:50 +0000 (17:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jul 2013 18:35:34 +0000 (11:35 -0700)
commit64d47cbc5c57ec3b7c0df054b0725d6b864c60c1
treeda4534cb52b21029198afa491ceae902862ae332
parenta416d9ead6b1235caf35603c45e7f99219a5b4e0
USB: EHCI: Fix resume signalling on remote wakeup

Set the ehci->resuming flag for the port we receive a remote
wakeup on so that resume signalling can be completed.

Without this, the root hub timer will not fire again to check
if the resume was completed and there will be a never-ending wait on
on the port.

This effect is only observed if the HUB IRQ IN does not come after we
have initiated the port resume.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Cc: stable <stable@vger.kernel.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-hub.c