]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: pl2303: amend and tighten type detection
authorJohan Hovold <johan@kernel.org>
Thu, 11 Mar 2021 16:14:48 +0000 (17:14 +0100)
committerJohan Hovold <johan@kernel.org>
Wed, 17 Mar 2021 08:16:22 +0000 (09:16 +0100)
commit653279b547f41aba6a3c963e12091783b0adb36d
tree84cf14223b6dc7e5d4363ee6a2ab8e137534982c
parentce61f2e3ff01c6227db8cce49fa3370583d2b229
USB: serial: pl2303: amend and tighten type detection

Add support for detecting the HX, TA, TB and HXD device types and refuse
to bind to any unknown types.

Note that the HX type includes the XA variant, while the HXD type
includes the EA, RA and SA variants.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/pl2303.c