summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Niklas Burfeind <kernel@aiyionpri.me>2020-12-03 04:03:59 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-11 13:39:04 +0100
commite9e0515b9ec9a2d5efca21573a89c9f7880db3b1 (patch)
tree7132e4c80d54aeb8deb2a97c5d67c8098ab37a53
parenta345fe6935b1d47afd8d238578c156d349942588 (diff)
downloadlinux-e9e0515b9ec9a2d5efca21573a89c9f7880db3b1.tar.gz
linux-e9e0515b9ec9a2d5efca21573a89c9f7880db3b1.tar.bz2
linux-e9e0515b9ec9a2d5efca21573a89c9f7880db3b1.zip
USB: serial: ch341: add new Product ID for CH341A
commit 46ee4abb10a07bd8f8ce910ee6b4ae6a947d7f63 upstream. Add PID for CH340 that's found on a ch341 based Programmer made by keeyees. The specific device that contains the serial converter is described here: http://www.keeyees.com/a/Products/ej/36.html The driver works flawlessly as soon as the new PID (0x5512) is added to it. Signed-off-by: Jan-Niklas Burfeind <kernel@aiyionpri.me> Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/serial/ch341.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c
index d45a3f4e752c..cdc959d40469 100644
--- a/drivers/usb/serial/ch341.c
+++ b/drivers/usb/serial/ch341.c
@@ -86,6 +86,7 @@ static const struct usb_device_id id_table[] = {
{ USB_DEVICE(0x4348, 0x5523) },
{ USB_DEVICE(0x1a86, 0x7522) },
{ USB_DEVICE(0x1a86, 0x7523) },
+ { USB_DEVICE(0x1a86, 0x5512) },
{ USB_DEVICE(0x1a86, 0x5523) },
{ },
};