summaryrefslogtreecommitdiffstats
path: root/freed-ora/current/F-12/linux-2.6-enable-btusb-autosuspend.patch
diff options
context:
space:
mode:
Diffstat (limited to 'freed-ora/current/F-12/linux-2.6-enable-btusb-autosuspend.patch')
-rw-r--r--freed-ora/current/F-12/linux-2.6-enable-btusb-autosuspend.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/freed-ora/current/F-12/linux-2.6-enable-btusb-autosuspend.patch b/freed-ora/current/F-12/linux-2.6-enable-btusb-autosuspend.patch
new file mode 100644
index 000000000..7e75341bb
--- /dev/null
+++ b/freed-ora/current/F-12/linux-2.6-enable-btusb-autosuspend.patch
@@ -0,0 +1,18 @@
+commit 8e962bd41a2cbf7f0e55191a757b87f793a725a8
+Author: Matthew Garrett <mjg@redhat.com>
+Date: Tue Jun 9 20:47:51 2009 +0100
+
+ btusb: Enable autosuspend by default
+
+diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
+index 44bc8bb..4c33417 100644
+--- a/drivers/bluetooth/btusb.c
++++ b/drivers/bluetooth/btusb.c
+@@ -1020,6 +1020,7 @@ static int btusb_probe(struct usb_interface *intf,
+ }
+
+ usb_set_intfdata(intf, data);
++ usb_device_autosuspend_enable(data->udev);
+
+ return 0;
+ }
OpenPOWER on IntegriCloud