[07/73] Revert "Bluetooth: Enable USB autosuspend by default on btusb"

From: Greg KH
Date: Fri Mar 04 2011 - 20:19:18 EST


2.6.37-stable review patch. If anyone has any objections, please let us know.

------------------

From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

commit 78794b2cdeac37ac1fd950fc9c4454b56d88ac03 upstream.

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 <jeff.chua.linux@xxxxxxxxx>
Reported-by: Andrew Meakovski <meako@xxxxxxxxxx>
Reported-by: Jim Faulkner <jfaulkne@xxxxxxxxxxx>
Acked-by: Greg KH <gregkh@xxxxxxx>
Acked-by: Matthew Garrett <mjg@xxxxxxxxxx>
Acked-by: Gustavo F. Padovan <padovan@xxxxxxxxxxxxxx>
Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

---
drivers/bluetooth/btusb.c | 2 --
1 file changed, 2 deletions(-)

--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -1038,8 +1038,6 @@ static int btusb_probe(struct usb_interf

usb_set_intfdata(intf, data);

- usb_enable_autosuspend(interface_to_usbdev(intf));
-
return 0;
}



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/