]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Bluetooth: Add USB_VENDOR_AND_INTERFACE_INFO() for Broadcom/Foxconn
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 15 Aug 2012 04:38:11 +0000 (01:38 -0300)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 17 Oct 2012 02:48:35 +0000 (03:48 +0100)
commit ee66401bb94b1f2ce51089c341dcdd25d26ae631 upstream.

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

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/bluetooth/btusb.c

index 6f95d98f3ad08fbc6dae0dcc00bfc2974835bdcc..1f90dabe44e90b2807009698b560fe93748ad912 100644 (file)
@@ -108,7 +108,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) },