summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-01 20:11:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-01 20:11:41 +0200
commit1b4f3dfb4792f03b139edf10124fcbeb44e608e6 (patch)
treec0ca8bc987530018bf6c9492a295a3d569f7fcec /drivers/usb/serial
parent2037e5d6fbbcee276a10737a0ed40694dcd2d071 (diff)
parentdcf097e7d21fbdfbf20e473ac155f4d154018374 (diff)
downloadlinux-1b4f3dfb4792f03b139edf10124fcbeb44e608e6.tar.bz2
Merge tag 'usb-serial-5.15-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-next
Johan writes: USB-serial fix for 5.15-rc1 Here's a single fix for a pl2303 type detection regression, and which has been in linux-next over night. * tag 'usb-serial-5.15-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial: USB: serial: pl2303: fix GL type detection
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/pl2303.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
index 930b3d50a330..f45ca7ddf78e 100644
--- a/drivers/usb/serial/pl2303.c
+++ b/drivers/usb/serial/pl2303.c
@@ -433,6 +433,7 @@ static int pl2303_detect_type(struct usb_serial *serial)
switch (bcdDevice) {
case 0x100:
case 0x305:
+ case 0x405:
/*
* Assume it's an HXN-type if the device doesn't
* support the old read request value.