projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1bf80c
)
NFC: nfcmrvl: update USB device id
author
Vincent Cuissard
<cuissard@marvell.com>
Thu, 11 Jun 2015 09:25:45 +0000
(11:25 +0200)
committer
Samuel 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nfc/nfcmrvl/usb.c
b/drivers/nfc/nfcmrvl/usb.c
index f81861af5b257cda6eb8fbf0e7777d7549df3cdc..c4046b681bfa2956f93f2fd2eafd4e2b62644902 100644
(file)
--- a/
drivers/nfc/nfcmrvl/usb.c
+++ b/
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 */
};