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>
Fri, 25 Feb 2011 19:32:13 +0000 (11:32 -0800)
commit294d95f2cbc2aef5346258f216cd9df570e271a5
treee999eac991ebb3b4f43753cfe7d922eb0a9f05a4
parent0fd857ae09c455f0036bf548fb6ec26b3049f5de
ehci: Check individual port status registers on resume

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>
Cc: stable <stable@kernel.org> [after .39-rc1 is out]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hub.c