]> git.baikalelectronics.ru Git - kernel.git/commit
USB: EHCI: add check for wakeup/suspend race
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 18 Oct 2013 15:18:21 +0000 (11:18 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Oct 2013 21:10:16 +0000 (14:10 -0700)
commit68f857305f36ebe27852ba3058b490fc9bea77c0
tree730c489ddb3c786cb7b45b9adbbeed4ba81d9653
parent24e697a71efcf017f39e41395a6d27eeab33a6e9
USB: EHCI: add check for wakeup/suspend race

hcd-pci.c in usbcore contains a check for wakeup requests racing with
controller suspend.  This check is going to be moved out of usbcore
and into the individual controller drivers, where it can apply to all
platforms, not just PCI.

This patch adds the check to ehci-hcd.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-hcd.c