diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-08-04 15:54:42 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-08-04 21:01:26 -0300 |
commit | 92a45fe9de21c64b57792d3c04d7637f95d6d6d0 (patch) | |
tree | 902eb5de12e835e190092be3474c5bc3807b8852 /kernels/linux-libre-pae/0001-Bluetooth-btbcm-allow-btbcm_read_verbose_config-to-f.patch | |
parent | 082735e450fd39e62a07d1e5e954673fbe7bf8ea (diff) | |
download | abslibre-92a45fe9de21c64b57792d3c04d7637f95d6d6d0.tar.gz abslibre-92a45fe9de21c64b57792d3c04d7637f95d6d6d0.tar.bz2 abslibre-92a45fe9de21c64b57792d3c04d7637f95d6d6d0.zip |
linux-libre-{pae,xen}-4.1.4_gnu-1: updating version
* update Maintainer and Contributor tags
* drop pkgbase comments
* enable CONFIG_CROS_EC_CHARDEV and CONFIG_CROS_EC_LPC (FS#45688 -> https://bugs.archlinux.org/task/45688)
Diffstat (limited to 'kernels/linux-libre-pae/0001-Bluetooth-btbcm-allow-btbcm_read_verbose_config-to-f.patch')
-rw-r--r-- | kernels/linux-libre-pae/0001-Bluetooth-btbcm-allow-btbcm_read_verbose_config-to-f.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/kernels/linux-libre-pae/0001-Bluetooth-btbcm-allow-btbcm_read_verbose_config-to-f.patch b/kernels/linux-libre-pae/0001-Bluetooth-btbcm-allow-btbcm_read_verbose_config-to-f.patch deleted file mode 100644 index 1d5871606..000000000 --- a/kernels/linux-libre-pae/0001-Bluetooth-btbcm-allow-btbcm_read_verbose_config-to-f.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 7bee8b08c428b63aa4a3765bb907602e36355378 Mon Sep 17 00:00:00 2001 -From: Chris Mason <clm@fb.com> -Date: Tue, 14 Jul 2015 16:25:30 -0400 -Subject: [PATCH] Bluetooth: btbcm: allow btbcm_read_verbose_config to fail on - Apple - -Commit 1c8ba6d013 moved around the setup code for broadcomm chips, -and also added btbcm_read_verbose_config() to read extra information -about the hardware. It's returning errors on some macbooks: - -Bluetooth: hci0: BCM: Read verbose config info failed (-16) - -Which makes us error out of the setup function. Since this -probe isn't critical to operate the chip, this patch just changes -things to carry on when it fails. - -Signed-off-by: Chris Mason <clm@fb.com> -Signed-off-by: Marcel Holtmann <marcel@holtmann.org> -Cc: stable@vger.kernel.org # v4.1 ---- - drivers/bluetooth/btbcm.c | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c -index 1e1a432..9ceb8ac 100644 ---- a/drivers/bluetooth/btbcm.c -+++ b/drivers/bluetooth/btbcm.c -@@ -472,12 +472,11 @@ int btbcm_setup_apple(struct hci_dev *hdev) - - /* Read Verbose Config Version Info */ - skb = btbcm_read_verbose_config(hdev); -- if (IS_ERR(skb)) -- return PTR_ERR(skb); -- -- BT_INFO("%s: BCM: chip id %u build %4.4u", hdev->name, skb->data[1], -- get_unaligned_le16(skb->data + 5)); -- kfree_skb(skb); -+ if (!IS_ERR(skb)) { -+ BT_INFO("%s: BCM: chip id %u build %4.4u", hdev->name, skb->data[1], -+ get_unaligned_le16(skb->data + 5)); -+ kfree_skb(skb); -+ } - - set_bit(HCI_QUIRK_STRICT_DUPLICATE_FILTER, &hdev->quirks); - --- -2.4.5 - |