[v2] qmi_wwan: add support for Quectel EG91

Message ID 1530720768-18349-1-git-send-email-vucnikm@gmail.com
State Accepted
Delegated to: David Miller
Headers show
Series
  • [v2] qmi_wwan: add support for Quectel EG91
Related show

Commit Message

Matevz Vucnik July 4, 2018, 4:12 p.m.
This adds the USB id of LTE modem Quectel EG91. It requires the
same quirk as other Quectel modems to make it work.

Signed-off-by: Matevz Vucnik <vucnikm@gmail.com>
---
 drivers/net/usb/qmi_wwan.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Bjørn Mork July 4, 2018, 4:27 p.m. | #1
On July 4, 2018 6:12:48 PM GMT+02:00, Matevz Vucnik <vucnikm@gmail.com> wrote:
>This adds the USB id of LTE modem Quectel EG91. It requires the
>same quirk as other Quectel modems to make it work.
>
>Signed-off-by: Matevz Vucnik <vucnikm@gmail.com>

Acked-by: Bjørn Mork <bjorn@mork.no>
David Miller July 5, 2018, 11:22 a.m. | #2
From: Matevz Vucnik <vucnikm@gmail.com>
Date: Wed,  4 Jul 2018 18:12:48 +0200

> This adds the USB id of LTE modem Quectel EG91. It requires the
> same quirk as other Quectel modems to make it work.
> 
> Signed-off-by: Matevz Vucnik <vucnikm@gmail.com>

Applied and queued up for -stable.

Patch

diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c
index 8fac8e1..3850280 100644
--- a/drivers/net/usb/qmi_wwan.c
+++ b/drivers/net/usb/qmi_wwan.c
@@ -1253,6 +1253,7 @@  static const struct usb_device_id products[] = {
 	{QMI_QUIRK_SET_DTR(0x1e0e, 0x9001, 5)},	/* SIMCom 7100E, 7230E, 7600E ++ */
 	{QMI_QUIRK_SET_DTR(0x2c7c, 0x0125, 4)},	/* Quectel EC25, EC20 R2.0  Mini PCIe */
 	{QMI_QUIRK_SET_DTR(0x2c7c, 0x0121, 4)},	/* Quectel EC21 Mini PCIe */
+	{QMI_QUIRK_SET_DTR(0x2c7c, 0x0191, 4)},	/* Quectel EG91 */
 	{QMI_FIXED_INTF(0x2c7c, 0x0296, 4)},	/* Quectel BG96 */
 	{QMI_QUIRK_SET_DTR(0x2c7c, 0x0306, 4)},	/* Quectel EP06 Mini PCIe */