nfc: Add support RC-S380P to port100
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Sat, 4 Feb 2017 01:15:22 +0000 (10:15 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 1 Apr 2017 21:04:29 +0000 (23:04 +0200)
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/port100.c

index 2b2330b235e63a251755bcd23ae4e066cd4aa7db..32258525513e41385123b750092d13974db9baa9 100644 (file)
@@ -21,8 +21,9 @@
 
 #define VERSION "0.1"
 
-#define SONY_VENDOR_ID    0x054c
-#define RCS380_PRODUCT_ID 0x06c1
+#define SONY_VENDOR_ID         0x054c
+#define RCS380S_PRODUCT_ID     0x06c1
+#define RCS380P_PRODUCT_ID     0x06c3
 
 #define PORT100_PROTOCOLS (NFC_PROTO_JEWEL_MASK    | \
                           NFC_PROTO_MIFARE_MASK   | \
@@ -1477,7 +1478,8 @@ static struct nfc_digital_ops port100_digital_ops = {
 };
 
 static const struct usb_device_id port100_table[] = {
-       { USB_DEVICE(SONY_VENDOR_ID, RCS380_PRODUCT_ID), },
+       { USB_DEVICE(SONY_VENDOR_ID, RCS380S_PRODUCT_ID), },
+       { USB_DEVICE(SONY_VENDOR_ID, RCS380P_PRODUCT_ID), },
        { }
 };
 MODULE_DEVICE_TABLE(usb, port100_table);