usb: serial: usb_debug: Add new USB device id
Subsystems (2)
PATCH 1/1 usb: serial: usb_debug: Add new USB device id
USB vendor id and product id for Linux USB Debug Target is added.
--- drivers/usb/serial/usb_debug.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/usb/serial/usb_debug.c +2 -0
@@ -32,12 +32,14 @@ static const struct usb_device_id id_table[] = {static const struct usb_device_id dbc_id_table[] = { {USB_DEVICE (0x1d6b ,0x0011 ) }, + {USB_DEVICE (0x1d6b ,0x0010 ) }, { }, };static const struct usb_device_id id_table_combined[] = { {USB_DEVICE (0x0525 ,0x127a ) }, {USB_DEVICE (0x1d6b ,0x0011 ) }, + {USB_DEVICE (0x1d6b ,0x0010 ) }, { }, };MODULE_DEVICE_TABLE (usb, id_table_combined);
Signature · 1 line
2.7.4
Johan Hovold
maintainerQuoted 16 lines · Lu Baolu
USB vendor id and product id for Linux USB Debug Target is added.
Signed-off-by Lu Baolu <[email protected]>--- drivers/usb/serial/usb_debug.c | 2 ++ 1 file changed, 2 insertions(+)drivers/usb/serial/usb_debug.c +1
-0@@ -32,12 +32,14 @@ static const struct usb_device_id id_table[] = {static const struct usb_device_id dbc_id_table[] = { {USB_DEVICE (0x1d6b ,0x0011 ) }, + {USB_DEVICE (0x1d6b ,0x0010 ) },
drivers/usb/serial/usb_debug.c static const struct usb_device_id id_table[] = { · line 45
Quoted 10 lines
drivers/usb/serial/usb_debug.c +1
-0{ }, };static const struct usb_device_id id_table_combined[] = { {USB_DEVICE (0x0525 ,0x127a ) }, {USB_DEVICE (0x1d6b ,0x0011 ) }, + {USB_DEVICE (0x1d6b ,0x0010 ) }, { }, };MODULE_DEVICE_TABLE (usb, id_table_combined);
For next time, please try to keep the device-id tables sorted when adding new entries. I fixed it up before applying with a stable tag.
Thanks,
Johan
Hi Johan,
Quoted 20 lines · Johan Hovold
Quoted 19 lines · Lu Baolu
USB vendor id and product id for Linux USB Debug Target is added.
Signed-off-by Lu Baolu <[email protected]>--- drivers/usb/serial/usb_debug.c | 2 ++ 1 file changed, 2 insertions(+)drivers/usb/serial/usb_debug.c +1
-0@@ -32,12 +32,14 @@ static const struct usb_device_id id_table[] = {static const struct usb_device_id dbc_id_table[] = { {USB_DEVICE (0x1d6b ,0x0011 ) }, + {USB_DEVICE (0x1d6b ,0x0010 ) }, { }, };
Quoted 10 lines
drivers/usb/serial/usb_debug.c static const struct usb_device_id id_table[] = { · line 45
Quoted 7 lines
drivers/usb/serial/usb_debug.c +1
-0static const struct usb_device_id id_table_combined[] = { {USB_DEVICE (0x0525 ,0x127a ) }, {USB_DEVICE (0x1d6b ,0x0011 ) }, + {USB_DEVICE (0x1d6b ,0x0010 ) }, { }, };MODULE_DEVICE_TABLE (usb, id_table_combined);For next time, please try to keep the device-id tables sorted when adding new entries. I fixed it up before applying with a stable tag.
Sure. Thanks for the reminder.
Best regards,
Lu Baolu