]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - queue-4.4/usb-serial-option-add-telit-0x1260-and-0x1261-compositions.patch
4.4-stable patches
[thirdparty/kernel/stable-queue.git] / queue-4.4 / usb-serial-option-add-telit-0x1260-and-0x1261-compositions.patch
1 From f3dfd4072c3ee6e287f501a18b5718b185d6a940 Mon Sep 17 00:00:00 2001
2 From: Daniele Palmas <dnlplm@gmail.com>
3 Date: Wed, 15 May 2019 17:27:49 +0200
4 Subject: USB: serial: option: add Telit 0x1260 and 0x1261 compositions
5
6 From: Daniele Palmas <dnlplm@gmail.com>
7
8 commit f3dfd4072c3ee6e287f501a18b5718b185d6a940 upstream.
9
10 Added support for Telit LE910Cx 0x1260 and 0x1261 compositions.
11
12 Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
13 Cc: stable <stable@vger.kernel.org>
14 Signed-off-by: Johan Hovold <johan@kernel.org>
15 Signed-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 @@ -1166,6 +1166,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) */