]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/blob - recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.14/0004-USB-option-add-ZTE-MF820D.patch
linux-ti335x-psp 3.2: update to 3.2.14
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-ti33x-psp-3.2 / 3.2.14 / 0004-USB-option-add-ZTE-MF820D.patch
1 From 0b49c52b5b44e5db6fe288173faec7136ea18c68 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= <bjorn@mork.no>
3 Date: Fri, 16 Mar 2012 15:41:26 +0100
4 Subject: [PATCH 004/147] USB: option: add ZTE MF820D
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 commit 5889d3d4209c1050b4a3c96c41faf6c0976a4acf upstream.
11 This device presents a total of 5 interfaces with ff/ff/ff
12 class/subclass/protocol. The last one of these is verified
13 to be a QMI/wwan combined interface which should be handled
14 by the qmi_wwan driver, so we blacklist it here.
16 Signed-off-by: Bj??rn Mork <bjorn@mork.no>
17 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
18 ---
19  drivers/usb/serial/option.c |    2 ++
20  1 file changed, 2 insertions(+)
22 diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
23 index 6410935..54898c9 100644
24 --- a/drivers/usb/serial/option.c
25 +++ b/drivers/usb/serial/option.c
26 @@ -901,6 +901,8 @@ static const struct usb_device_id option_ids[] = {
27         { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0162, 0xff, 0xff, 0xff) },
28         { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0164, 0xff, 0xff, 0xff) },
29         { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0165, 0xff, 0xff, 0xff) },
30 +       { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0167, 0xff, 0xff, 0xff),
31 +         .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
32         { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1008, 0xff, 0xff, 0xff) },
33         { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1010, 0xff, 0xff, 0xff) },
34         { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1012, 0xff, 0xff, 0xff) },
35 -- 
36 1.7.9.4