Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Revert "USB: serial: ch341: add new Product ID for CH341A"

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>

authored by

Dmytro Bagrii and committed by
Johan Hovold
198a7ebd 754e0b0e

-1
-1
drivers/usb/serial/ch341.c
··· 81 81 #define CH341_QUIRK_SIMULATE_BREAK BIT(1) 82 82 83 83 static const struct usb_device_id id_table[] = { 84 - { USB_DEVICE(0x1a86, 0x5512) }, 85 84 { USB_DEVICE(0x1a86, 0x5523) }, 86 85 { USB_DEVICE(0x1a86, 0x7522) }, 87 86 { USB_DEVICE(0x1a86, 0x7523) },