USB: serial: option: add Telit ME910 ECM composition
PATCH v2 1/1 USB: serial: option: add Telit ME910 ECM composition
Quoted 17 lines · Daniele Palmas
This patch adds Telit ME910 family ECM composition
0x1102.Signed-off-by Daniele Palmas <[email protected]>---
v2: add matching on interface class to remove blacklistinglsusb verbose output:
--- drivers/usb/serial/option.c | 2 ++ 1 file changed, 2 insertions(+)drivers/usb/serial/option.c +0
-0
drivers/usb/serial/option.c static const struct usb_device_id option_ids[] = { · line 1152
Quoted 5 lines
drivers/usb/serial/option.c +2
-0@@ -1148,6 +1148,8 @@ static const struct usb_device_id option_ids[] = { .driver_info = NCTRL(0) | RSVD(1) | RSVD(3) }, { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_ME910_DUAL_MODEM), .driver_info = NCTRL(0) | RSVD(3) }, + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1102, 0xff), + .driver_info = NCTRL(0) }, /* TELIT ME910 (ECM) */
I moved the comment to the USB_DEVICE line for consistency with the other entries (it's ok to break the 80 col rule here).
drivers/usb/serial/option.c static const struct usb_device_id option_ids[] = { · line 1155
Quoted 3 lines
drivers/usb/serial/option.c +0
-0{ USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE910), .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) }, { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE910_USBCFG4),
Now applied.
Thanks,
Johan