kernel/linux-2.6-enable-btusb-autosuspend.patch

19 lines
504 B
Diff
Raw Normal View History

2010-07-30 00:19:53 +00:00
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;
}