]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.16-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Apr 2018 20:50:05 +0000 (22:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Apr 2018 20:50:05 +0000 (22:50 +0200)
added patches:
bluetooth-hci_bcm-add-6-new-acpi-hids.patch

queue-4.16/bluetooth-hci_bcm-add-6-new-acpi-hids.patch [new file with mode: 0644]
queue-4.16/series

diff --git a/queue-4.16/bluetooth-hci_bcm-add-6-new-acpi-hids.patch b/queue-4.16/bluetooth-hci_bcm-add-6-new-acpi-hids.patch
new file mode 100644 (file)
index 0000000..80fca94
--- /dev/null
@@ -0,0 +1,68 @@
+From 4063cafa3b24ff04635bdedc97cd3e4320415065 Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Fri, 16 Mar 2018 21:28:09 +0100
+Subject: Bluetooth: hci_bcm: Add 6 new ACPI HIDs
+
+From: Hans de Goede <hdegoede@redhat.com>
+
+commit 4063cafa3b24ff04635bdedc97cd3e4320415065 upstream.
+
+Add 6 new ACPI HIDs to enable bluetooth on devices using these HIDs,
+I've tested the following HIDs / devices:
+
+BCM2E74: Jumper ezPad mini 3
+BCM2E83: Acer Iconia Tab8 w1-810
+BCM2E90: Meegopad T08
+BCM2EAA: Chuwi Vi8 plus (CWI519)
+
+The reporter of Red Hat bugzilla 1554835 has tested:
+BCM2E84: Lenovo Yoga2
+
+The reporter of kernel bugzilla 274481 has tested:
+BCM2E38: Toshiba Encore
+
+Note the Lenovo Yoga2 and Toshiba Encore also needs the earlier patch to
+treat all Interrupt ACPI resources as active low.
+
+Cc: stable@vger.kernel.org
+Buglink: https://bugzilla.kernel.org/attachment.cgi?id=274481
+Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1554835
+Reported-and-tested-by: Robert R. Howell <rhowell@uwyo.edu>
+Reported-and-tested-by: Christian Herzog <daduke@daduke.org>
+Tested-by: Hans de Goede <hdegoede@redhat.com>
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/bluetooth/hci_bcm.c |    6 ++++++
+ 1 file changed, 6 insertions(+)
+
+--- a/drivers/bluetooth/hci_bcm.c
++++ b/drivers/bluetooth/hci_bcm.c
+@@ -1080,6 +1080,7 @@ static const struct hci_uart_proto bcm_p
+ #ifdef CONFIG_ACPI
+ static const struct acpi_device_id bcm_acpi_match[] = {
+       { "BCM2E1A", (kernel_ulong_t)&acpi_bcm_int_last_gpios },
++      { "BCM2E38", (kernel_ulong_t)&acpi_bcm_int_last_gpios },
+       { "BCM2E39", (kernel_ulong_t)&acpi_bcm_int_last_gpios },
+       { "BCM2E3A", (kernel_ulong_t)&acpi_bcm_int_last_gpios },
+       { "BCM2E3D", (kernel_ulong_t)&acpi_bcm_int_last_gpios },
+@@ -1092,12 +1093,17 @@ static const struct acpi_device_id bcm_a
+       { "BCM2E67", (kernel_ulong_t)&acpi_bcm_int_last_gpios },
+       { "BCM2E71", (kernel_ulong_t)&acpi_bcm_int_last_gpios },
+       { "BCM2E72", (kernel_ulong_t)&acpi_bcm_int_last_gpios },
++      { "BCM2E74", (kernel_ulong_t)&acpi_bcm_int_last_gpios },
+       { "BCM2E7B", (kernel_ulong_t)&acpi_bcm_int_last_gpios },
+       { "BCM2E7C", (kernel_ulong_t)&acpi_bcm_int_last_gpios },
+       { "BCM2E7E", (kernel_ulong_t)&acpi_bcm_int_first_gpios },
++      { "BCM2E83", (kernel_ulong_t)&acpi_bcm_int_first_gpios },
++      { "BCM2E84", (kernel_ulong_t)&acpi_bcm_int_last_gpios },
++      { "BCM2E90", (kernel_ulong_t)&acpi_bcm_int_last_gpios },
+       { "BCM2E95", (kernel_ulong_t)&acpi_bcm_int_first_gpios },
+       { "BCM2E96", (kernel_ulong_t)&acpi_bcm_int_first_gpios },
+       { "BCM2EA4", (kernel_ulong_t)&acpi_bcm_int_first_gpios },
++      { "BCM2EAA", (kernel_ulong_t)&acpi_bcm_int_first_gpios },
+       { },
+ };
+ MODULE_DEVICE_TABLE(acpi, bcm_acpi_match);
index 98f6f29a5badeab2462f5f444eaaee6a45f8852c..15aed0031426c99293cd45dd9be8bf2c18129891 100644 (file)
@@ -18,3 +18,4 @@ crypto-caam-fix-null-dereference-at-error-path.patch
 crypto-ccp-return-an-actual-key-size-from-rsa-max_size-callback.patch
 crypto-arm-arm64-fix-random-regeneration-of-s_shipped.patch
 crypto-x86-cast5-avx-fix-ecb-encryption-when-long-sg-follows-short-one.patch
+bluetooth-hci_bcm-add-6-new-acpi-hids.patch