Patchwork [Precise,2/2] Bluetooth: Add USB_VENDOR_AND_INTERFACE_INFO() for Broadcom/Foxconn

login
register
mail settings
Submitter Jesse Sung
Date Oct. 8, 2012, 9:22 a.m.
Message ID <1349688161-11309-2-git-send-email-jesse.sung@canonical.com>
Download mbox | patch
Permalink /patch/189955/
State New
Headers show

Comments

Jesse Sung - Oct. 8, 2012, 9:22 a.m.
From: Gustavo Padovan <gustavo.padovan@collabora.co.uk>

BugLink: https://launchpad.net/bugs/1030233

Foxconn devices has a vendor specific class of device, we will match them
differently now.

Cc: stable@vger.kernel.org
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
(cherry picked from commit ee66401bb94b1f2ce51089c341dcdd25d26ae631 upstream)
Signed-off-by: Wen-chien Jesse Sung <jesse.sung@canonical.com>
---
 drivers/bluetooth/btusb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Tim Gardner - Oct. 8, 2012, 12:46 p.m.

Patch

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 801b196..e2aa8a4 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -105,7 +105,7 @@  static struct usb_device_id btusb_table[] = {
 	{ USB_DEVICE(0x413c, 0x8197) },
 
 	/* Foxconn - Hon Hai */
-	{ USB_DEVICE(0x0489, 0xe033) },
+	{ USB_VENDOR_AND_INTERFACE_INFO(0x0489, 0xff, 0x01, 0x01) },
 
 	/*Broadcom devices with vendor specific id */
 	{ USB_VENDOR_AND_INTERFACE_INFO(0x0a5c, 0xff, 0x01, 0x01) },