]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - queue-4.14/usb-serial-option-add-telit-0x1260-and-0x1261-compositions.patch
4.14-stable patches
[thirdparty/kernel/stable-queue.git] / queue-4.14 / usb-serial-option-add-telit-0x1260-and-0x1261-compositions.patch
CommitLineData
01f04db2
GKH
1From f3dfd4072c3ee6e287f501a18b5718b185d6a940 Mon Sep 17 00:00:00 2001
2From: Daniele Palmas <dnlplm@gmail.com>
3Date: Wed, 15 May 2019 17:27:49 +0200
4Subject: USB: serial: option: add Telit 0x1260 and 0x1261 compositions
5
6From: Daniele Palmas <dnlplm@gmail.com>
7
8commit f3dfd4072c3ee6e287f501a18b5718b185d6a940 upstream.
9
10Added support for Telit LE910Cx 0x1260 and 0x1261 compositions.
11
12Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
13Cc: stable <stable@vger.kernel.org>
14Signed-off-by: Johan Hovold <johan@kernel.org>
15Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
16
17---
18 drivers/usb/serial/option.c | 4 ++++
19 1 file changed, 4 insertions(+)
20
21--- a/drivers/usb/serial/option.c
22+++ b/drivers/usb/serial/option.c
23@@ -1174,6 +1174,10 @@ static const struct usb_device_id option
24 { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920A4_1213, 0xff) },
25 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920A4_1214),
26 .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) | RSVD(3) },
27+ { USB_DEVICE(TELIT_VENDOR_ID, 0x1260),
28+ .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) },
29+ { USB_DEVICE(TELIT_VENDOR_ID, 0x1261),
30+ .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) },
31 { USB_DEVICE(TELIT_VENDOR_ID, 0x1900), /* Telit LN940 (QMI) */
32 .driver_info = NCTRL(0) | RSVD(1) },
33 { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1901, 0xff), /* Telit LN940 (MBIM) */