linux-hwg/0006-Revert-Bluetooth-Enable-autosuspend-for-Intel-Blueto.patch
Thomas Bächler d068bb28c8 * Fix FSID of rootfs being 0
For st_dev in struct stat, the value 0 is
  an error. Make sure rootfs has value 1.

  This fixes the coreutils cp -ax issue (although that
  code has already been improved in coreutils, too) and
  somewhat fixes the switch_root problem in util-linux.
  It is still possible that rootfs gets an FSID >1 in
  future versions, so util-linux still needs to be fixed.

  This is unrelated to the mount id issue in
  /proc/*/mountinfo - the mount id may still be
  zero.

* Revert a patch that always enables autosuspend on intel bluetoothh

  xhci still sucks and breaks this. I am reverting this
  commit for reasons that are in no way selfish.
2014-04-03 22:57:31 +00:00

34 lines
1.1 KiB
Diff

From d02e0fc02f3cfa078e301698f0475adcdf6f72ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20B=C3=A4chler?= <thomas@archlinux.org>
Date: Thu, 3 Apr 2014 23:59:49 +0200
Subject: [PATCH 6/6] Revert "Bluetooth: Enable autosuspend for Intel Bluetooth
device"
This reverts commit d2bee8fb6e18f6116aada39851918473761f7ab1.
USB autosuspend still breaks on some xhci controllers, so disable
it by default as long as no solution is found.
---
drivers/bluetooth/btusb.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index baeaaed..6d6e09e 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -1478,10 +1478,8 @@ static int btusb_probe(struct usb_interface *intf,
if (id->driver_info & BTUSB_BCM92035)
hdev->setup = btusb_setup_bcm92035;
- if (id->driver_info & BTUSB_INTEL) {
- usb_enable_autosuspend(data->udev);
+ if (id->driver_info & BTUSB_INTEL)
hdev->setup = btusb_setup_intel;
- }
/* Interface numbers are hardcoded in the specification */
data->isoc = usb_ifnum_to_if(data->udev, 1);
--
1.9.1