]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Revert "USB: serial: ch341: add new Product ID for CH341A"
authorDmytro Bagrii <dimich.dmb@gmail.com>
Thu, 10 Feb 2022 16:41:37 +0000 (18:41 +0200)
committerJohan Hovold <johan@kernel.org>
Mon, 21 Feb 2022 08:58:14 +0000 (09:58 +0100)
This reverts commit 46ee4abb10a07bd8f8ce910ee6b4ae6a947d7f63.

CH341 has Product ID 0x5512 in EPP/MEM mode which is used for
I2C/SPI/GPIO interfaces. In asynchronous serial interface mode
CH341 has PID 0x5523 which is already in the table.

Mode is selected by corresponding jumper setting.

Signed-off-by: Dmytro Bagrii <dimich.dmb@gmail.com>
Link: https://lore.kernel.org/r/20220210164137.4376-1-dimich.dmb@gmail.com
Link: https://lore.kernel.org/r/YJ0OCS/sh+1ifD/q@hovoldconsulting.com
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ch341.c

index 58cba8ee0277ae7fe23021b96ed78211f2bb01ca..2798fca712612bee6e572779c6abad7f063cf0bb 100644 (file)
@@ -81,7 +81,6 @@
 #define CH341_QUIRK_SIMULATE_BREAK     BIT(1)
 
 static const struct usb_device_id id_table[] = {
-       { USB_DEVICE(0x1a86, 0x5512) },
        { USB_DEVICE(0x1a86, 0x5523) },
        { USB_DEVICE(0x1a86, 0x7522) },
        { USB_DEVICE(0x1a86, 0x7523) },