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 <robert.marko@sartura.hr> Cc: stable@vger.kernel.org # 5.13 Link: https://lore.kernel.org/r/20210826110239.5269-1-robert.marko@sartura.hr Signed-off-by: Johan Hovold <johan@kernel.org>
1 parent df7b16d commit dcf097e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎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)