]> www.infradead.org Git - users/dwmw2/linux.git/commit
ehci: Check individual port status registers on resume
authorMatthew Garrett <mjg@redhat.com>
Tue, 11 Jan 2011 17:26:48 +0000 (12:26 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Mar 2011 20:03:50 +0000 (13:03 -0700)
commita6b2dd27d8d97c83b7f0c70c8813f96801f85c00
treeb7b14c3747d4b84df5294212c106da3ede063f3f
parent679a1ea67eeabcedac628dfd2573c9a1946ab2e7
ehci: Check individual port status registers on resume

commit 294d95f2cbc2aef5346258f216cd9df570e271a5 upstream.

If a device plug/unplug is detected on an ATI SB700 USB controller in D3,
it appears to set the port status register but not the controller status
register. As a result we'll fail to detect the plug event. Check the port
status register on resume as well in order to catch this case.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hub.c