]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: pl2303: add support for more HXN (G) types
authorJohan Hovold <johan@kernel.org>
Tue, 21 Jun 2022 08:58:55 +0000 (10:58 +0200)
committerJohan Hovold <johan@kernel.org>
Wed, 22 Jun 2022 06:52:03 +0000 (08:52 +0200)
commit6eb7efe8c677ecba0a34716cf665e66478727e22
treea79d4b3a2ad5d6d83963685554b7cd322b6d9479
parent7e163d43dec0a0b3a54b613d96841da4f94e7e00
USB: serial: pl2303: add support for more HXN (G) types

Add support for further HXN (G) type devices (GT variant, GL variant, GS
variant and GR) and document the bcdDevice mapping.

Note that the TA and TB types use the same bcdDevice as some GT and GE
variants, respectively, but that the HX status request can be used to
determine which is which.

Also note that we currently do not distinguish between the various HXN
(G) types in the driver but that this may change eventually (e.g. when
adding GPIO support).

Reported-by: Charles Yeh <charlesyeh522@gmail.com>
Link: https://lore.kernel.org/r/YrF77b9DdeumUAee@hovoldconsulting.com
Cc: stable@vger.kernel.org # 5.13
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/pl2303.c