projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46ee4ab
)
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
Johan Hovold
<johan@kernel.org>
Thu, 3 Dec 2020 09:28:55 +0000
(10:28 +0100)
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>
drivers/usb/serial/ch341.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/ch341.c
b/drivers/usb/serial/ch341.c
index b157a230178dc784e1f1891ca2493cb2da9493b9..28deaaec581f6ef91f252fe99cd6cc99db571080 100644
(file)
--- a/
drivers/usb/serial/ch341.c
+++ b/
drivers/usb/serial/ch341.c
@@
-81,11
+81,11
@@
#define CH341_QUIRK_SIMULATE_BREAK BIT(1)
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);