]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: hub.c loops forever on resume from ram due to bluetooth
authorMark Lord <lkml@rtr.ca>
Mon, 14 May 2007 23:48:02 +0000 (19:48 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:29:48 +0000 (16:29 -0700)
commit55e5fdfa541ec7bf1b1613624ed4dd8cdacaa841
tree236f91853b65f9edfc3014451ffd516275e8a676
parent8538f96ae5aada1c04d69a993b20ad160b191d47
USB: hub.c loops forever on resume from ram due to bluetooth

Okay, found it.  The root cause here was a missing CONFIG_USB_SUSPEND=y,
which means the hci_usb device never got marked as USB_STATE_SUSPENDED,
which then caused the loop to go on forever.

The system works fine now with CONFIG_USB_SUSPEND=y in the .config.

Here's the patch to prevent future lockups for this or other causes.
I no longer need it, but it does still seem a good idea.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c