Re: [PATCH 1/1] usb: serial: usb_debug: Add new USB device id

From: Lu Baolu
Date: Tue Nov 28 2017 - 18:37:53 EST


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@xxxxxxxxxxxxxxx>
>> ---
>> 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