diff options
author | John Klug <john.klug@multitech.com> | 2019-01-29 17:41:17 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-01-29 17:41:17 -0600 |
commit | a573e231eb4de3f363bb61cb30986fffa9ed1853 (patch) | |
tree | e0730ce2c5adf03ab21c754e376d5285a102021b | |
parent | 05a9c47d55ff641dc0cabcf13ee76b72cb5559c8 (diff) | |
download | meta-multitech-a573e231eb4de3f363bb61cb30986fffa9ed1853.tar.gz meta-multitech-a573e231eb4de3f363bb61cb30986fffa9ed1853.tar.bz2 meta-multitech-a573e231eb4de3f363bb61cb30986fffa9ed1853.zip |
Add Telit Sprint patch for LXFP.
-rw-r--r-- | recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-telit_print_qmi_wwan.patch | 21 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-at91_4.9.87.bb | 3 |
2 files changed, 23 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-telit_print_qmi_wwan.patch b/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-telit_print_qmi_wwan.patch new file mode 100644 index 0000000..f3795b7 --- /dev/null +++ b/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-telit_print_qmi_wwan.patch @@ -0,0 +1,21 @@ +Telit LE920A4 uses the same pid 0x1201 of LE920, but modem +implementation is different, since it requires DTR to be set for +answering to qmi messages. + +This patch replaces QMI_FIXED_INTF with QMI_QUIRK_SET_DTR: tests on +LE920 have been performed in order to verify backward compatibility. +Signed-off-by: 's avatarDaniele Palmas <dnlplm@gmail.com> +Signed-off-by: 's avatarDavid S. Miller <davem@davemloft.net> +diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c +index 156f7f85e4860d682d679df68bfe8cfe2a3d4b3b..2474618404f5e592c0fe56d38c30c8988e1ed8ef 100644 +--- a/drivers/net/usb/qmi_wwan.c ++++ b/drivers/net/usb/qmi_wwan.c +@@ -908,7 +908,7 @@ static const struct usb_device_id products[] = { + {QMI_FIXED_INTF(0x2357, 0x9000, 4)}, /* TP-LINK MA260 */ + {QMI_QUIRK_SET_DTR(0x1bc7, 0x1040, 2)}, /* Telit LE922A */ + {QMI_FIXED_INTF(0x1bc7, 0x1200, 5)}, /* Telit LE920 */ +- {QMI_FIXED_INTF(0x1bc7, 0x1201, 2)}, /* Telit LE920 */ ++ {QMI_QUIRK_SET_DTR(0x1bc7, 0x1201, 2)}, /* Telit LE920, LE920A4 */ + {QMI_FIXED_INTF(0x1c9e, 0x9b01, 3)}, /* XS Stick W100-2 from 4G Systems */ + {QMI_FIXED_INTF(0x0b3c, 0xc000, 4)}, /* Olivetti Olicard 100 */ + {QMI_FIXED_INTF(0x0b3c, 0xc001, 4)}, /* Olivetti Olicard 120 */ diff --git a/recipes-kernel/linux/linux-at91_4.9.87.bb b/recipes-kernel/linux/linux-at91_4.9.87.bb index fa8abfe..50b11e9 100644 --- a/recipes-kernel/linux/linux-at91_4.9.87.bb +++ b/recipes-kernel/linux/linux-at91_4.9.87.bb @@ -18,7 +18,7 @@ RDEPENDS_kernel-base="" FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:" KERNEL_EXTRA_ARGS ="LOADADDR=0x20008000" -PR = "r2" +PR = "r3" KERNEL_VERSION = "${PV}" EXTRAVERSION = "" @@ -42,6 +42,7 @@ COMMON_PATCHES = " \ file://linux-4.9-cdc-acm-ignore-exar-devices.patch \ file://EXTRAVERSION.patch \ file://linux-4.9-ledtrig-netdev.patch \ + file://linux-4.9-telit_print_qmi_wwan.patch \ " # file://at91pinctrl_reprobe.patch |