USB: serial: pl2303: add a new device id for ATEN
authorMovie Song <MovieSong@aten-itlab.cn>
Wed, 18 Jul 2018 18:20:48 +0000 (02:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Aug 2018 05:46:10 +0000 (07:46 +0200)
commit 29c692c96b3a39cd1911fb79cd2505af8d070f07 upstream.

Signed-off-by: Movie Song <MovieSong@aten-itlab.cn>
Cc: Johan Hovold <johan@kernel.org>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/pl2303.c
drivers/usb/serial/pl2303.h

index 34c5a75f98a750427a0fd4065060a3acddb8aec1..2153e67eeeeebc8eb5a962e687224cdc1374fc4e 100644 (file)
@@ -55,6 +55,8 @@ static const struct usb_device_id id_table[] = {
                .driver_info = PL2303_QUIRK_ENDPOINT_HACK },
        { USB_DEVICE(ATEN_VENDOR_ID, ATEN_PRODUCT_UC485),
                .driver_info = PL2303_QUIRK_ENDPOINT_HACK },
+       { USB_DEVICE(ATEN_VENDOR_ID, ATEN_PRODUCT_UC232B),
+               .driver_info = PL2303_QUIRK_ENDPOINT_HACK },
        { USB_DEVICE(ATEN_VENDOR_ID, ATEN_PRODUCT_ID2) },
        { USB_DEVICE(ATEN_VENDOR_ID2, ATEN_PRODUCT_ID) },
        { USB_DEVICE(ELCOM_VENDOR_ID, ELCOM_PRODUCT_ID) },
index 123289085ee25974c1045adaa7fa56dd11198169..cec7141245ef6afb884dcc9b6d8ca53841f31805 100644 (file)
@@ -29,6 +29,7 @@
 #define ATEN_VENDOR_ID2                0x0547
 #define ATEN_PRODUCT_ID                0x2008
 #define ATEN_PRODUCT_UC485     0x2021
+#define ATEN_PRODUCT_UC232B    0x2022
 #define ATEN_PRODUCT_ID2       0x2118
 
 #define IODATA_VENDOR_ID       0x04bb