Skip to content

Commit bf193bf

Browse files
committed
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>
1 parent 46ee4ab commit bf193bf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/usb/serial/ch341.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@
8181
#define CH341_QUIRK_SIMULATE_BREAK BIT(1)
8282

8383
static const struct usb_device_id id_table[] = {
84-
{ USB_DEVICE(0x4348, 0x5523) },
85-
{ USB_DEVICE(0x1a86, 0x7522) },
86-
{ USB_DEVICE(0x1a86, 0x7523) },
8784
{ USB_DEVICE(0x1a86, 0x5512) },
8885
{ USB_DEVICE(0x1a86, 0x5523) },
86+
{ USB_DEVICE(0x1a86, 0x7522) },
87+
{ USB_DEVICE(0x1a86, 0x7523) },
88+
{ USB_DEVICE(0x4348, 0x5523) },
8989
{ },
9090
};
9191
MODULE_DEVICE_TABLE(usb, id_table);

0 commit comments

Comments
 (0)