summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Niklas Burfeind <kernel@aiyionpri.me>2020-12-03 06:03:59 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-11 15:37:59 +0300
commite00156c7af08ae4f32a32d342fb8b81cc6d5ce2a (patch)
treee372df0b844b2175260a4015beae47a360be5a7f
parent30df8e693b1e32ebf25836f84a4d57afcd7743be (diff)
downloadlinux-e00156c7af08ae4f32a32d342fb8b81cc6d5ce2a.tar.xz
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 cfa02d712362..de44ec72c56d 100644
--- a/drivers/usb/serial/ch341.c
+++ b/drivers/usb/serial/ch341.c
@@ -73,6 +73,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) },
{ },
};