]> git.baikalelectronics.ru Git - kernel.git/commit
UHCI: hub_status_data should indicate if ports are resuming
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 3 Apr 2012 19:24:43 +0000 (15:24 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 22:43:21 +0000 (15:43 -0700)
commit547c9f5393339c6e0cadfa6b4e947856ae8f6604
tree9d8720826697457add5c6674428f64c0f21a1cc1
parent0ee5b7298ee5af604a6771bb9dadc297355eb76a
UHCI: hub_status_data should indicate if ports are resuming

This patch (as1538) causes uhci_hub_status_data() to return a nonzero
value when any port is undergoing a resume transition while the root
hub is suspended.  This will allow usbcore to handle races between
root-hub suspend and port wakeup.

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