linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] usb: serial: usb_debug: Add new USB device id
@ 2017-11-28  4:40 Lu Baolu
  2017-11-28  9:01 ` Johan Hovold
  0 siblings, 1 reply; 3+ messages in thread
From: Lu Baolu @ 2017-11-28  4:40 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman; +Cc: linux-usb, linux-kernel, Lu Baolu

USB vendor id and product id for Linux USB Debug Target is added.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
---
 drivers/usb/serial/usb_debug.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/serial/usb_debug.c b/drivers/usb/serial/usb_debug.c
index ab5a2ac..47636b6 100644
--- a/drivers/usb/serial/usb_debug.c
+++ b/drivers/usb/serial/usb_debug.c
@@ -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);
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] usb: serial: usb_debug: Add new USB device id
  2017-11-28  4:40 [PATCH 1/1] usb: serial: usb_debug: Add new USB device id Lu Baolu
@ 2017-11-28  9:01 ` Johan Hovold
  2017-11-28 23:37   ` Lu Baolu
  0 siblings, 1 reply; 3+ messages in thread
From: Johan Hovold @ 2017-11-28  9:01 UTC (permalink / raw)
  To: Lu Baolu; +Cc: Johan Hovold, Greg Kroah-Hartman, linux-usb, linux-kernel

On Tue, Nov 28, 2017 at 12:40:59PM +0800, Lu Baolu wrote:
> USB vendor id and product id for Linux USB Debug Target is added.
> 
> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
> ---
>  drivers/usb/serial/usb_debug.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/usb/serial/usb_debug.c b/drivers/usb/serial/usb_debug.c
> index ab5a2ac..47636b6 100644
> --- a/drivers/usb/serial/usb_debug.c
> +++ b/drivers/usb/serial/usb_debug.c
> @@ -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);

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] usb: serial: usb_debug: Add new USB device id
  2017-11-28  9:01 ` Johan Hovold
@ 2017-11-28 23:37   ` Lu Baolu
  0 siblings, 0 replies; 3+ messages in thread
From: Lu Baolu @ 2017-11-28 23:37 UTC (permalink / raw)
  To: Johan Hovold; +Cc: Greg Kroah-Hartman, linux-usb, linux-kernel

Hi Johan,

On 11/28/2017 05:01 PM, Johan Hovold wrote:
> On Tue, Nov 28, 2017 at 12:40:59PM +0800, Lu Baolu wrote:
>> USB vendor id and product id for Linux USB Debug Target is added.
>>
>> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
>> ---
>>  drivers/usb/serial/usb_debug.c | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/drivers/usb/serial/usb_debug.c b/drivers/usb/serial/usb_debug.c
>> index ab5a2ac..47636b6 100644
>> --- a/drivers/usb/serial/usb_debug.c
>> +++ b/drivers/usb/serial/usb_debug.c
>> @@ -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);
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-28 23:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-28  4:40 [PATCH 1/1] usb: serial: usb_debug: Add new USB device id Lu Baolu
2017-11-28  9:01 ` Johan Hovold
2017-11-28 23:37   ` Lu Baolu

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).