Skip to content

Commit dcf097e

Browse files
robimarkojhovold
authored andcommitted
USB: serial: pl2303: fix GL type detection
At least some PL2303GL have a bcdDevice of 0x405 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") Signed-off-by: Robert Marko <[email protected]> Cc: [email protected] # 5.13 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johan Hovold <[email protected]>
1 parent df7b16d commit dcf097e

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
@@ -433,6 +433,7 @@ static int pl2303_detect_type(struct usb_serial *serial)
433433
switch (bcdDevice) {
434434
case 0x100:
435435
case 0x305:
436+
case 0x405:
436437
/*
437438
* Assume it's an HXN-type if the device doesn't
438439
* support the old read request value.

0 commit comments

Comments
 (0)