Commit 3c49aa85 authored by Marcel Holtmann's avatar Marcel Holtmann Committed by Johan Hedberg

Revert "Bluetooth: Enable autosuspend for Intel Bluetooth device"

This reverts commit d2bee8fb.

Enabling autosuspend for Intel Bluetooth devices has been shown to not
work reliable. It does work for some people with certain combinations
of USB host controllers, but for others it puts the device to sleep and
it will not wake up for any event.

These events can be important ones like HCI Inquiry Complete or HCI
Connection Request. The events will arrive as soon as you poke the
device with a new command, but that is not something we can do in
these cases.

Initially there were patches to the xHCI USB controller that fixed
this for some people, but not for all. This could be well a problem
somewhere in the USB subsystem or in the USB host controllers or
just plain a hardware issue somewhere. At this moment we just do
not know and the only safe action is to revert this patch.
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Cc: Tedd Ho-Jeong An <tedd.an@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
parent ffa216bb
...@@ -1485,10 +1485,8 @@ static int btusb_probe(struct usb_interface *intf, ...@@ -1485,10 +1485,8 @@ static int btusb_probe(struct usb_interface *intf,
if (id->driver_info & BTUSB_BCM92035) if (id->driver_info & BTUSB_BCM92035)
hdev->setup = btusb_setup_bcm92035; hdev->setup = btusb_setup_bcm92035;
if (id->driver_info & BTUSB_INTEL) { if (id->driver_info & BTUSB_INTEL)
usb_enable_autosuspend(data->udev);
hdev->setup = btusb_setup_intel; hdev->setup = btusb_setup_intel;
}
/* Interface numbers are hardcoded in the specification */ /* Interface numbers are hardcoded in the specification */
data->isoc = usb_ifnum_to_if(data->udev, 1); data->isoc = usb_ifnum_to_if(data->udev, 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment