USB: OHCI: fix bug in controller resume
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 3 Apr 2008 15:35:26 +0000 (11:35 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:47 +0000 (21:16 -0700)
commit0d22f65515307c878ddd20b1305cce925ca9516c
treeeba160357db2615462cdc787f07b3f5ef770c710
parent9063ff44f081a0297085952f6760dfe1f8ca840e
USB: OHCI: fix bug in controller resume

This patch (as1063) fixes a bug in the way ohci-hcd resumes its
controllers.  It leaves the Master Interrupt Enable bit turned off.

If the root hub is resumed immediately this won't matter.  But if the
root hub is suspended (say because no devices are plugged in), it won't
ever wake up by itself.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: David Brownell <david-b@pacbell.net>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-pci.c