summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hovold2020-12-03 03:11:59 -0600
committerGreg Kroah-Hartman2020-12-11 06:39:04 -0600
commit058e0da58be02b56248b7bf2ebe6f3b32fd44bf6 (patch)
tree5d7bdd3add021c66469da2f77f2910edb1baba4b
parente9e0515b9ec9a2d5efca21573a89c9f7880db3b1 (diff)
downloadkernel-058e0da58be02b56248b7bf2ebe6f3b32fd44bf6.tar.gz
kernel-058e0da58be02b56248b7bf2ebe6f3b32fd44bf6.tar.xz
kernel-058e0da58be02b56248b7bf2ebe6f3b32fd44bf6.zip
USB: serial: ch341: sort device-id entries
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>
-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 cdc959d40469..389b24b84ba4 100644
--- a/drivers/usb/serial/ch341.c
+++ b/drivers/usb/serial/ch341.c
@@ -83,11 +83,11 @@
83#define CH341_LCR_CS5 0x00 83#define CH341_LCR_CS5 0x00
84 84
85static const struct usb_device_id id_table[] = { 85static const struct usb_device_id id_table[] = {
86 { USB_DEVICE(0x4348, 0x5523) },
87 { USB_DEVICE(0x1a86, 0x7522) },
88 { USB_DEVICE(0x1a86, 0x7523) },
89 { USB_DEVICE(0x1a86, 0x5512) }, 86 { USB_DEVICE(0x1a86, 0x5512) },
90 { USB_DEVICE(0x1a86, 0x5523) }, 87 { USB_DEVICE(0x1a86, 0x5523) },
88 { USB_DEVICE(0x1a86, 0x7522) },
89 { USB_DEVICE(0x1a86, 0x7523) },
90 { USB_DEVICE(0x4348, 0x5523) },
91 { }, 91 { },
92}; 92};
93MODULE_DEVICE_TABLE(usb, id_table); 93MODULE_DEVICE_TABLE(usb, id_table);