Explorar o código

NFC: nfcmrvl: update USB device id

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>
Vincent Cuissard %!s(int64=10) %!d(string=hai) anos
pai
achega
8a81a96bd1
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      drivers/nfc/nfcmrvl/usb.c

+ 2 - 1
drivers/nfc/nfcmrvl/usb.c

@@ -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 */
 };