]> 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:05:09 +0000 (11:05 +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 614305bd0de9aee5645526b7f6f7f90be2dd405e..a0afb1029e01d1045dc8f61f209f093a3228c2be 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;