Skip to content

Commit

Permalink
Bluetooth: Enable USB autosuspend by default on btusb
Browse files Browse the repository at this point in the history
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 <mjg@redhat.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
  • Loading branch information
Matthew Garrett authored and Gustavo F. Padovan committed Nov 9, 2010
1 parent bdb7524 commit 556ea92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/bluetooth/btusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 556ea92

Please sign in to comment.