linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: hci_bcm: Fix autosuspend PM for Lenovo ThinkPad 8
@ 2016-10-09 13:51 Jérôme de Bretagne
  2016-10-09 19:48 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Jérôme de Bretagne @ 2016-10-09 13:51 UTC (permalink / raw)
  To: linux-bluetooth

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 <jerome.debretagne@gmail.com>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Bluetooth: hci_bcm: Fix autosuspend PM for Lenovo ThinkPad 8
  2016-10-09 13:51 [PATCH] Bluetooth: hci_bcm: Fix autosuspend PM for Lenovo ThinkPad 8 Jérôme de Bretagne
@ 2016-10-09 19:48 ` Marcel Holtmann
  2016-10-09 21:10   ` Jérôme de Bretagne
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2016-10-09 19:48 UTC (permalink / raw)
  To: Jérôme de Bretagne; +Cc: linux-bluetooth

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 <jerome.debretagne@gmail.com>
> ---
> drivers/bluetooth/hci_bcm.c | 8 ++++++++
> 1 file changed, 8 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Bluetooth: hci_bcm: Fix autosuspend PM for Lenovo ThinkPad 8
  2016-10-09 19:48 ` Marcel Holtmann
@ 2016-10-09 21:10   ` Jérôme de Bretagne
  0 siblings, 0 replies; 3+ messages in thread
From: Jérôme de Bretagne @ 2016-10-09 21:10 UTC (permalink / raw)
  To: Marcel Holtmann, Loic Poulain; +Cc: linux-bluetooth

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-09 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-09 13:51 [PATCH] Bluetooth: hci_bcm: Fix autosuspend PM for Lenovo ThinkPad 8 Jérôme de Bretagne
2016-10-09 19:48 ` Marcel Holtmann
2016-10-09 21:10   ` Jérôme de Bretagne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).