[SRU,Bionic0[PATCH,1/1] Bluetooth: btusb: Add Dell XPS 13 9360 to btusb_needs_reset_resume_table

Message ID ca1bae56c4e43f4211abf541d152bd67a526df20.1528216884.git.joseph.salisbury@canonical.com
State New
Headers show
Series
  • Bluetooth: btusb: Add Dell XPS 13 9360 to btusb_needs_reset_resume_table
Related show

Commit Message

Joseph Salisbury June 8, 2018, 5:56 p.m.
From: Hans de Goede <hdegoede@redhat.com>

BugLink: http://bugs.launchpad.net/bugs/1775217

The Dell XPS 13 9360 uses a QCA Rome chip which needs to be reset
(and have its firmware reloaded) for bluetooth to work after
suspend/resume.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1514836
Cc: stable@vger.kernel.org
Cc: Garrett LeSage <glesage@redhat.com>
Reported-and-tested-by: Garrett LeSage <glesage@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
(cherry picked from commit 596b07a9a22656493726edf1739569102bd3e136)
Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>
---
 drivers/bluetooth/btusb.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Stefan Bader June 8, 2018, 6:55 p.m. | #1
On 08.06.2018 10:56, Joseph Salisbury wrote:
> From: Hans de Goede <hdegoede@redhat.com>
> 
> BugLink: http://bugs.launchpad.net/bugs/1775217
> 
> The Dell XPS 13 9360 uses a QCA Rome chip which needs to be reset
> (and have its firmware reloaded) for bluetooth to work after
> suspend/resume.
> 
> BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1514836
> Cc: stable@vger.kernel.org
> Cc: Garrett LeSage <glesage@redhat.com>
> Reported-and-tested-by: Garrett LeSage <glesage@redhat.com>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
> (cherry picked from commit 596b07a9a22656493726edf1739569102bd3e136)
> Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
> ---
>  drivers/bluetooth/btusb.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> index e6e66dd..3b30224 100644
> --- a/drivers/bluetooth/btusb.c
> +++ b/drivers/bluetooth/btusb.c
> @@ -391,6 +391,13 @@ static const struct dmi_system_id btusb_needs_reset_resume_table[] = {
>  			DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 3060"),
>  		},
>  	},
> +	{
> +		/* Dell XPS 9360 (QCA ROME device 0cf3:e300) */
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "XPS 13 9360"),
> +		},
> +	},
>  	{}
>  };
>  
>

Patch

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index e6e66dd..3b30224 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -391,6 +391,13 @@  static const struct dmi_system_id btusb_needs_reset_resume_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 3060"),
 		},
 	},
+	{
+		/* Dell XPS 9360 (QCA ROME device 0cf3:e300) */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "XPS 13 9360"),
+		},
+	},
 	{}
 };