]> git.baikalelectronics.ru Git - kernel.git/commitdiff
USB: serial: pl2303: add device-id for HP LD381
authorScott Chen <scott@labau.com.tw>
Wed, 11 Mar 2020 06:14:23 +0000 (14:14 +0800)
committerJohan Hovold <johan@kernel.org>
Thu, 12 Mar 2020 11:31:01 +0000 (12:31 +0100)
Add a device id for HP LD381 Display
LD381:   03f0:0f7f

Signed-off-by: Scott Chen <scott@labau.com.tw>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/pl2303.c
drivers/usb/serial/pl2303.h

index aab737e1e7b65aab669f768adab0681962c1b7d8..c5a2995dfa2e371eed561974e09af10adc1df843 100644 (file)
@@ -99,6 +99,7 @@ static const struct usb_device_id id_table[] = {
        { USB_DEVICE(SUPERIAL_VENDOR_ID, SUPERIAL_PRODUCT_ID) },
        { USB_DEVICE(HP_VENDOR_ID, HP_LD220_PRODUCT_ID) },
        { USB_DEVICE(HP_VENDOR_ID, HP_LD220TA_PRODUCT_ID) },
+       { USB_DEVICE(HP_VENDOR_ID, HP_LD381_PRODUCT_ID) },
        { USB_DEVICE(HP_VENDOR_ID, HP_LD960_PRODUCT_ID) },
        { USB_DEVICE(HP_VENDOR_ID, HP_LD960TA_PRODUCT_ID) },
        { USB_DEVICE(HP_VENDOR_ID, HP_LCM220_PRODUCT_ID) },
index a019ea7e6e0eb7f84fa45bcf2de46a5259468a70..52db5519aaf08a520804aa7faf115b5ff26235f4 100644 (file)
 #define HP_LM920_PRODUCT_ID    0x026b
 #define HP_TD620_PRODUCT_ID    0x0956
 #define HP_LD960_PRODUCT_ID    0x0b39
+#define HP_LD381_PRODUCT_ID    0x0f7f
 #define HP_LCM220_PRODUCT_ID   0x3139
 #define HP_LCM960_PRODUCT_ID   0x3239
 #define HP_LD220_PRODUCT_ID    0x3524