summaryrefslogtreecommitdiffstats
path: root/drivers/usb
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
parentMerge tag 'usb-serial-5.15-rc1-2' of https://git.kernel.org/pub/scm/linux/ker... (diff)
parentUSB: serial: pl2303: fix GL type detection (diff)
downloadlinux-1b4f3dfb4792f03b139edf10124fcbeb44e608e6.tar.xz
linux-1b4f3dfb4792f03b139edf10124fcbeb44e608e6.zip
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')
-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.