]> git.karo-electronics.de Git - karo-tx-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 19:50:18 +0000 (12:50 -0700)
commitf2d3ab3688b54f1e1cb7998c599d806e0de0b800
tree055b32ed6faa1dd41200052e42759a9651bca3f0
parentdd4dd522c7fc2c1d55713c27ca30820f22e0a225
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