projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdb7524
)
Bluetooth: Enable USB autosuspend by default on btusb
author
Matthew Garrett
<
[email protected]
>
Thu, 16 Sep 2010 17:58:15 +0000
(13:58 -0400)
committer
Gustavo F. Padovan
<
[email protected]
>
Tue, 9 Nov 2010 02:55:27 +0000
(
00:55
-0200)
We've done this for a while in Fedora without any obvious problems other
than some interaction with input devices. Those should be fixed now, so
let's try this in mainline.
Signed-off-by: Matthew Garrett <
[email protected]
>
Acked-by: Marcel Holtmann <
[email protected]
>
Signed-off-by: Gustavo F. Padovan <
[email protected]
>
drivers/bluetooth/btusb.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/btusb.c
b/drivers/bluetooth/btusb.c
index d120a5c1c0939b1061aae61b6c983da76cf37446..b2f28845931775784ace1ad2668c64b0295018f4 100644
(file)
--- a/
drivers/bluetooth/btusb.c
+++ b/
drivers/bluetooth/btusb.c
@@
-1029,6
+1029,8
@@
static int btusb_probe(struct usb_interface *intf,
usb_set_intfdata(intf, data);
+ usb_enable_autosuspend(interface_to_usbdev(intf));
+
return 0;
}