* [PATCH] USB: serial: ch341: sort device-id entries
@ 2020-12-03 9:11 Johan Hovold
2020-12-03 9:25 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Johan Hovold @ 2020-12-03 9:11 UTC (permalink / raw)
To: linux-usb; +Cc: Johan Hovold, stable
Keep the device-id entries sorted to make it easier to add new ones in
the right spot.
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/usb/serial/ch341.c | 6 +++---
1 file 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);
--
2.26.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] USB: serial: ch341: sort device-id entries
2020-12-03 9:11 [PATCH] USB: serial: ch341: sort device-id entries Johan Hovold
@ 2020-12-03 9:25 ` Greg KH
2020-12-03 9:30 ` Johan Hovold
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2020-12-03 9:25 UTC (permalink / raw)
To: Johan Hovold; +Cc: linux-usb, stable
On Thu, Dec 03, 2020 at 10:11:59AM +0100, Johan Hovold wrote:
> Keep the device-id entries sorted to make it easier to add new ones in
> the right spot.
>
> Cc: stable@vger.kernel.org
> Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] USB: serial: ch341: sort device-id entries
2020-12-03 9:25 ` Greg KH
@ 2020-12-03 9:30 ` Johan Hovold
0 siblings, 0 replies; 3+ messages in thread
From: Johan Hovold @ 2020-12-03 9:30 UTC (permalink / raw)
To: Greg KH; +Cc: Johan Hovold, linux-usb, stable
On Thu, Dec 03, 2020 at 10:25:03AM +0100, Greg Kroah-Hartman wrote:
> On Thu, Dec 03, 2020 at 10:11:59AM +0100, Johan Hovold wrote:
> > Keep the device-id entries sorted to make it easier to add new ones in
> > the right spot.
> >
> > Cc: stable@vger.kernel.org
> > Signed-off-by: Johan Hovold <johan@kernel.org>
>
> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Thanks. I've applied this one to go in along with the new device id.
Johan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-03 9:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-03 9:11 [PATCH] USB: serial: ch341: sort device-id entries Johan Hovold
2020-12-03 9:25 ` Greg KH
2020-12-03 9:30 ` Johan Hovold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).