Skip to content

Commit 3212a99

Browse files
committed
USB: serial: pl2303: fix GT type detection
At least some PL2303GT have a bcdDevice of 0x305 instead of 0x100 as the datasheet claims. Add it to the list of known release numbers for the HXN (G) type. Fixes: 894758d ("USB: serial: pl2303: tighten type HXN (G) detection") Reported-by: Vasily Khoruzhick <[email protected]> Tested-by: Vasily Khoruzhick <[email protected]> Cc: [email protected] # 5.13 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johan Hovold <[email protected]>
1 parent 5648c07 commit 3212a99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/usb/serial/pl2303.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ static int pl2303_detect_type(struct usb_serial *serial)
432432
case 0x200:
433433
switch (bcdDevice) {
434434
case 0x100:
435+
case 0x305:
435436
/*
436437
* Assume it's an HXN-type if the device doesn't
437438
* support the old read request value.

0 commit comments

Comments
 (0)