]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: OHCI: fix root-hub resume bug
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 24 Oct 2006 16:04:22 +0000 (12:04 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Nov 2006 22:26:11 +0000 (14:26 -0800)
commit583ceada075597a5b6acab1140d61ac81586a2a6
tree27ea85087cc6d09333f0121534e866f5e65c1c83
parent51b5bce8c253b82d4789161cc3b0c74bee313bb1
USB: OHCI: fix root-hub resume bug

When a suspended OHCI controller sees a port's status change, it sets
both the Root-Hub-Status-Change and the Resume-Detect bits in the
Interrupt Status register.  Processing both these bits, the driver
tries to resume the root hub twice!

This patch (as807) fixes the bug by ignoring RD if RHSC is set.  It
also prints a slightly more informative log message when a
remote-wakeup event occurs.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-hcd.c
drivers/usb/host/ohci-hub.c