]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
USB: serial: pl2303: add new chip PL2303GC-Q20 and PL2303GT-2AB
authorCharles Yeh <charlesyeh522@gmail.com>
Wed, 21 May 2025 13:23:54 +0000 (21:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:07:05 +0000 (11:07 +0100)
commit d3a889482bd5abf2bbdc1ec3d2d49575aa160c9c upstream.

Add new bcd (0x905) to support PL2303GT-2AB (TYPE_HXN).
Add new bcd (0x1005) to support PL2303GC-Q20 (TYPE_HXN).

Signed-off-by: Charles Yeh <charlesyeh522@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/pl2303.c

index 05ca236023bbfed0e8b4429a83fdfca47069d8af..103994af4bff3a1f56ecccf8f171ac5d468caf59 100644 (file)
@@ -457,6 +457,8 @@ static int pl2303_detect_type(struct usb_serial *serial)
                case 0x605:
                case 0x700:     /* GR */
                case 0x705:
+               case 0x905:     /* GT-2AB */
+               case 0x1005:    /* GC-Q20 */
                        return TYPE_HXN;
                }
                break;