summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-3.12.27/linux-3.12.27-option-telit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-3.12.27/linux-3.12.27-option-telit.patch')
-rw-r--r--recipes-kernel/linux/linux-3.12.27/linux-3.12.27-option-telit.patch20
1 files changed, 9 insertions, 11 deletions
diff --git a/recipes-kernel/linux/linux-3.12.27/linux-3.12.27-option-telit.patch b/recipes-kernel/linux/linux-3.12.27/linux-3.12.27-option-telit.patch
index 9826a33..bc919ae 100644
--- a/recipes-kernel/linux/linux-3.12.27/linux-3.12.27-option-telit.patch
+++ b/recipes-kernel/linux/linux-3.12.27/linux-3.12.27-option-telit.patch
@@ -1,7 +1,7 @@
Index: linux-3.12.27/drivers/usb/serial/option.c
===================================================================
--- linux-3.12.27.orig/drivers/usb/serial/option.c 2014-08-26 07:12:26.000000000 -0500
-+++ linux-3.12.27/drivers/usb/serial/option.c 2014-09-04 17:11:17.462024077 -0500
++++ linux-3.12.27/drivers/usb/serial/option.c 2016-02-04 16:39:53.522427060 -0600
@@ -267,7 +267,9 @@
#define TELIT_PRODUCT_CC864_DUAL 0x1005
#define TELIT_PRODUCT_CC864_SINGLE 0x1006
@@ -12,20 +12,18 @@ Index: linux-3.12.27/drivers/usb/serial/option.c
#define TELIT_PRODUCT_LE920 0x1200
/* ZTE PRODUCTS */
-@@ -574,7 +576,12 @@
+@@ -577,6 +579,11 @@
+ .reserved = BIT(1) | BIT(5),
+ };
- static const struct option_blacklist_info telit_le920_blacklist = {
- .sendsetup = BIT(0),
-- .reserved = BIT(1) | BIT(5),
-+ .reserved = BIT(1) | BIT(7),
-+};
-+
+static const struct option_blacklist_info telit_le910_blacklist = {
+ .sendsetup = BIT(0),
-+ .reserved = BIT(1) | BIT(7),
- };
-
++ .reserved = BIT(1) | BIT(2),
++};
++
static const struct usb_device_id option_ids[] = {
+ { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
+ { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) },
@@ -1119,7 +1126,10 @@
{ USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_CC864_DUAL) },
{ USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_CC864_SINGLE) },