NFC: nfcmrvl: update USB device id
authorVincent Cuissard <cuissard@marvell.com>
Thu, 11 Jun 2015 09:25:45 +0000 (11:25 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 11 Jun 2015 21:24:47 +0000 (23:24 +0200)
Device ID was not restrictive enough. This patch select the USB
device with the full device and interface characteristics.

Signed-off-by: Vincent Cuissard <cuissard@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/nfcmrvl/usb.c

index f81861af5b257cda6eb8fbf0e7777d7549df3cdc..c4046b681bfa2956f93f2fd2eafd4e2b62644902 100644 (file)
@@ -26,7 +26,8 @@
 #define VERSION "1.0"
 
 static struct usb_device_id nfcmrvl_table[] = {
-       { USB_DEVICE_INTERFACE_CLASS(0x1286, 0x2046, 0xff) },
+       { USB_DEVICE_AND_INTERFACE_INFO(0x1286, 0x2046,
+                                       USB_CLASS_VENDOR_SPEC, 4, 1) },
        { }     /* Terminating entry */
 };
 
This page took 0.025133 seconds and 5 git commands to generate.