lkml.org 
[lkml]   [2020]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.19 61/71] USB: serial: option: add LE910Cx compositions 0x1203, 0x1230, 0x1231
    Date
    From: Daniele Palmas <dnlplm@gmail.com>

    commit 489979b4aab490b6b917c11dc02d81b4b742784a upstream.

    Add following Telit LE910Cx compositions:

    0x1203: rndis, tty, adb, tty, tty, tty, tty
    0x1230: tty, adb, rmnet, audio, tty, tty, tty, tty
    0x1231: rndis, tty, adb, audio, tty, tty, tty, tty

    Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
    Link: https://lore.kernel.org/r/20201031225458.10512-1-dnlplm@gmail.com
    [ johan: add comments after entries ]
    Cc: stable@vger.kernel.org
    Signed-off-by: Johan Hovold <johan@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/usb/serial/option.c | 6 ++++++
    1 file changed, 6 insertions(+)

    --- a/drivers/usb/serial/option.c
    +++ b/drivers/usb/serial/option.c
    @@ -1203,6 +1203,8 @@ static const struct usb_device_id option
    .driver_info = NCTRL(0) },
    { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE910),
    .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) },
    + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1203, 0xff), /* Telit LE910Cx (RNDIS) */
    + .driver_info = NCTRL(2) | RSVD(3) },
    { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE910_USBCFG4),
    .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) | RSVD(3) },
    { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920),
    @@ -1217,6 +1219,10 @@ static const struct usb_device_id option
    { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920A4_1213, 0xff) },
    { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920A4_1214),
    .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) | RSVD(3) },
    + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1230, 0xff), /* Telit LE910Cx (rmnet) */
    + .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) },
    + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1231, 0xff), /* Telit LE910Cx (RNDIS) */
    + .driver_info = NCTRL(2) | RSVD(3) },
    { USB_DEVICE(TELIT_VENDOR_ID, 0x1260),
    .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) },
    { USB_DEVICE(TELIT_VENDOR_ID, 0x1261),

    \
     
     \ /
      Last update: 2020-11-09 14:11    [W:3.973 / U:0.624 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site