Revert "Bluetooth: Enable USB autosuspend by default on btusb"
authorLinus Torvalds <[email protected]>
Thu, 24 Feb 2011 03:42:03 +0000 (19:42 -0800)
committerLinus Torvalds <[email protected]>
Thu, 24 Feb 2011 03:42:03 +0000 (19:42 -0800)
This reverts commit 556ea928f78a390fe16ae584e6433dff304d3014.

Jeff Chua reports that it can cause some bluetooth devices (he mentions
an Bluetooth Intermec scanner) to just stop responding after a while
with messages like

  [ 4533.361959] btusb 8-1:1.0: no reset_resume for driver btusb?
  [ 4533.361964] btusb 8-1:1.1: no reset_resume for driver btusb?

from the kernel. See also

  https://bugzilla.kernel.org/show_bug.cgi?id=26182

for other reports.

Reported-by: Jeff Chua <[email protected]>
Reported-by: Andrew Meakovski <[email protected]>
Reported-by: Jim Faulkner <[email protected]>
Acked-by: Greg KH <[email protected]>
Acked-by: Matthew Garrett <[email protected]>
Acked-by: Gustavo F. Padovan <[email protected]>
Cc: [email protected] (for 2.6.37)
Signed-off-by: Linus Torvalds <[email protected]>
drivers/bluetooth/btusb.c

index b7f2f373c63136736998f05688f6fc05591e8c30..700a3840fddc2e8dec17e63f7910b128463c9225 100644 (file)
@@ -1044,8 +1044,6 @@ static int btusb_probe(struct usb_interface *intf,
 
        usb_set_intfdata(intf, data);
 
-       usb_enable_autosuspend(interface_to_usbdev(intf));
-
        return 0;
 }