Home Home > GIT Browse > SLE15
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-06-24 12:07:35 +0200
committerTakashi Iwai <tiwai@suse.de>2019-06-24 12:07:52 +0200
commitd3eb125456598413aa9aa984a35facf4d88b8d45 (patch)
treeeb25953abcd0edc08ae05dee496271de3c068e48
parent771c49f9ccf6d1e77b6ca06896a21cf706340c95 (diff)
USB: serial: pl2303: add Allied Telesis VT-Kit3 (bsc#1051510).
-rw-r--r--patches.drivers/USB-serial-pl2303-add-Allied-Telesis-VT-Kit3.patch47
-rw-r--r--series.conf1
2 files changed, 48 insertions, 0 deletions
diff --git a/patches.drivers/USB-serial-pl2303-add-Allied-Telesis-VT-Kit3.patch b/patches.drivers/USB-serial-pl2303-add-Allied-Telesis-VT-Kit3.patch
new file mode 100644
index 0000000000..64b970f589
--- /dev/null
+++ b/patches.drivers/USB-serial-pl2303-add-Allied-Telesis-VT-Kit3.patch
@@ -0,0 +1,47 @@
+From c5f81656a18b271976a86724dadd8344e54de74e Mon Sep 17 00:00:00 2001
+From: Chris Packham <chris.packham@alliedtelesis.co.nz>
+Date: Tue, 14 May 2019 17:35:42 +1200
+Subject: [PATCH] USB: serial: pl2303: add Allied Telesis VT-Kit3
+Git-commit: c5f81656a18b271976a86724dadd8344e54de74e
+Patch-mainline: v5.2-rc5
+References: bsc#1051510
+
+This is adds the vendor and device id for the AT-VT-Kit3 which is a
+pl2303-based device.
+
+Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
+Cc: stable <stable@vger.kernel.org>
+Signed-off-by: Johan Hovold <johan@kernel.org>
+Acked-by: Takashi Iwai <tiwai@suse.de>
+
+---
+ drivers/usb/serial/pl2303.c | 1 +
+ drivers/usb/serial/pl2303.h | 3 +++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
+index 55122ac84518..d7abde14b3cf 100644
+--- a/drivers/usb/serial/pl2303.c
++++ b/drivers/usb/serial/pl2303.c
+@@ -106,6 +106,7 @@ static const struct usb_device_id id_table[] = {
+ { USB_DEVICE(SANWA_VENDOR_ID, SANWA_PRODUCT_ID) },
+ { USB_DEVICE(ADLINK_VENDOR_ID, ADLINK_ND6530_PRODUCT_ID) },
+ { USB_DEVICE(SMART_VENDOR_ID, SMART_PRODUCT_ID) },
++ { USB_DEVICE(AT_VENDOR_ID, AT_VTKIT3_PRODUCT_ID) },
+ { } /* Terminating entry */
+ };
+
+diff --git a/drivers/usb/serial/pl2303.h b/drivers/usb/serial/pl2303.h
+index 559941ca884d..b0175f17d1a2 100644
+--- a/drivers/usb/serial/pl2303.h
++++ b/drivers/usb/serial/pl2303.h
+@@ -155,3 +155,6 @@
+ #define SMART_VENDOR_ID 0x0b8c
+ #define SMART_PRODUCT_ID 0x2303
+
++/* Allied Telesis VT-Kit3 */
++#define AT_VENDOR_ID 0x0caa
++#define AT_VTKIT3_PRODUCT_ID 0x3001
+--
+2.16.4
+
diff --git a/series.conf b/series.conf
index b7d90b7f62..5f4f258f52 100644
--- a/series.conf
+++ b/series.conf
@@ -22602,6 +22602,7 @@
patches.drivers/USB-Fix-chipmunk-like-voice-when-using-Logitech-C270.patch
patches.drivers/usb-dwc2-Fix-DMA-cache-alignment-issues.patch
patches.drivers/USB-serial-option-add-support-for-Simcom-SIM7500-SIM.patch
+ patches.drivers/USB-serial-pl2303-add-Allied-Telesis-VT-Kit3.patch
patches.drivers/platform-x86-mlx-platform-Fix-parent-device-in-i2c-m.patch
patches.drivers/ras-cec-fix-binary-search-function.patch
patches.drivers/ras-cec-convert-the-timer-callback-to-a-workqueue.patch