2016-10-09 13:51:05

by Jérôme de Bretagne

[permalink] [raw]
Subject: [PATCH] Bluetooth: hci_bcm: Fix autosuspend PM for Lenovo ThinkPad 8

ACPI table for BCM2E55 of Lenovo ThinkPad 8 is not correct.
Set correctly IRQ polarity for this device, fixing the issue of bluetooth
never resuming after autosuspend PM.

Signed-off-by: Jérôme de Bretagne <[email protected]>
---
drivers/bluetooth/hci_bcm.c | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c
index 5ccb90e..8f6c23c 100644
--- a/drivers/bluetooth/hci_bcm.c
+++ b/drivers/bluetooth/hci_bcm.c
@@ -643,6 +643,14 @@ static const struct dmi_system_id bcm_wrong_irq_dmi_table[] = {
},
.driver_data = &acpi_active_low,
},
+ { /* Handle ThinkPad 8 tablets with BCM2E55 chipset ACPI ID */
+ .ident = "Lenovo ThinkPad 8",
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "ThinkPad 8"),
+ },
+ .driver_data = &acpi_active_low,
+ },
{ }
};

--
2.9.3



2016-10-09 21:10:41

by Jérôme de Bretagne

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: hci_bcm: Fix autosuspend PM for Lenovo ThinkPad 8

> patch has been applied to bluetooth-next tree.
>

Thanks Marcel, and thanks to Loic also for the pointer in the right
direction to help me fix this issue! 

Regards,

Jérôme

2016-10-09 19:48:00

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: hci_bcm: Fix autosuspend PM for Lenovo ThinkPad 8

Hi Jerome,

> ACPI table for BCM2E55 of Lenovo ThinkPad 8 is not correct.
> Set correctly IRQ polarity for this device, fixing the issue of bluetooth
> never resuming after autosuspend PM.
>
> Signed-off-by: Jérôme de Bretagne <[email protected]>
> ---
> drivers/bluetooth/hci_bcm.c | 8 ++++++++
> 1 file changed, 8 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel