USB: serial: option: add Telit 0x1260 and 0x1261 compositions [Linux 4.14.128]

USB: serial: option: add Telit 0x1260 and 0x1261 compositions [Linux 4.14.128]

This Linux kernel change "USB: serial: option: add Telit 0x1260 and 0x1261 compositions" is included in the Linux 4.14.128 release. This change is authored by Daniele Palmas <dnlplm [at] gmail.com> on Wed May 15 17:27:49 2019 +0200. The commit for this change in Linux stable tree is c2d2622 (patch) which is from upstream commit f3dfd40. The same Linux upstream change may have been applied to various maintained Linux releases and you can find all Linux releases containing changes from upstream f3dfd40.

USB: serial: option: add Telit 0x1260 and 0x1261 compositions

commit f3dfd4072c3ee6e287f501a18b5718b185d6a940 upstream.

Added support for Telit LE910Cx 0x1260 and 0x1261 compositions.

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

There are 4 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

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

diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index c34ef63..3c8e497 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -1174,6 +1174,10 @@ static int  option_probe(struct usb_serial *serial,
    { 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(TELIT_VENDOR_ID, 0x1260),
+     .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) },
+   { USB_DEVICE(TELIT_VENDOR_ID, 0x1261),
+     .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) },
    { USB_DEVICE(TELIT_VENDOR_ID, 0x1900),              /* Telit LN940 (QMI) */
      .driver_info = NCTRL(0) | RSVD(1) },
    { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1901, 0xff),    /* Telit LN940 (MBIM) */

Leave a Reply

Your email address will not be published. Required fields are marked *