projects
/
wrapfs-3.2.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25b90f8
)
USB: serial: ch341: sort device-id entries
author
Johan Hovold
<johan@kernel.org>
Thu, 3 Dec 2020 09:11:59 +0000
(10:11 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 11 Dec 2020 12:23:27 +0000
(13:23 +0100)
commit
bf193bfc12dbc3754fc8a6e0e1e3702f1af2f772
upstream.
Keep the device-id entries sorted to make it easier to add new ones in
the right spot.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ch341.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/ch341.c
b/drivers/usb/serial/ch341.c
index 8182863919c6e47491f38d1ec8078d35236ec226..fdaefbe924908e9eead82e1fc66b95a8db0f0eb8 100644
(file)
--- a/
drivers/usb/serial/ch341.c
+++ b/
drivers/usb/serial/ch341.c
@@
-80,11
+80,11
@@
#define CH341_LCR_CS5 0x00
static const struct usb_device_id id_table[] = {
- { USB_DEVICE(0x4348, 0x5523) },
- { USB_DEVICE(0x1a86, 0x7522) },
- { USB_DEVICE(0x1a86, 0x7523) },
{ USB_DEVICE(0x1a86, 0x5512) },
{ USB_DEVICE(0x1a86, 0x5523) },
+ { USB_DEVICE(0x1a86, 0x7522) },
+ { USB_DEVICE(0x1a86, 0x7523) },
+ { USB_DEVICE(0x4348, 0x5523) },
{ },
};
MODULE_DEVICE_TABLE(usb, id_table);