]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: ch341: add new Product ID for CH340
authorIgor Moura <imphilippini@gmail.com>
Tue, 23 Jun 2020 08:11:11 +0000 (05:11 -0300)
committerJohan Hovold <johan@kernel.org>
Tue, 23 Jun 2020 08:57:27 +0000 (10:57 +0200)
commitd9fd440e9b9de5e9cda3c8579f7f714bfeac6fa8
tree74fbccaa934c22ef5fc5b980b087cfa32616ad27
parent64166d15d898d4dec98f5872a563600cc394995a
USB: serial: ch341: add new Product ID for CH340

Add PID for CH340 that's found on some ESP8266 dev boards made by
LilyGO. The specific device that contains such serial converter can be
seen here: https://github.com/LilyGO/LILYGO-T-OI.

Apparently, it's a regular CH340, but I've confirmed with others that
also bought this board that the PID found on this device (0x7522)
differs from other devices with the "same" converter (0x7523).
Simply adding its PID to the driver and rebuilding it made it work
as expected.

Signed-off-by: Igor Moura <imphilippini@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ch341.c