aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ch341.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-12-03 10:11:59 +0100
committerJohan Hovold <johan@kernel.org>2020-12-03 10:28:55 +0100
commitbf193bfc12dbc3754fc8a6e0e1e3702f1af2f772 (patch)
tree41015456c33f8b0f94f6f691d2043d451cff1165 /drivers/usb/serial/ch341.c
parentUSB: serial: ch341: add new Product ID for CH341A (diff)
downloadlinux-dev-bf193bfc12dbc3754fc8a6e0e1e3702f1af2f772.tar.xz
linux-dev-bf193bfc12dbc3754fc8a6e0e1e3702f1af2f772.zip
USB: serial: ch341: sort device-id entries
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>
Diffstat (limited to 'drivers/usb/serial/ch341.c')
-rw-r--r--drivers/usb/serial/ch341.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c
index b157a230178d..28deaaec581f 100644
--- 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);