diff mbox series

qmi_wwan: Added support for Fibocom NL668 series

Message ID CAMu45b-ZZHnV=yOD1+OBRQADHhEHCbDr5yuShtRFVfu+FZKA4Q@mail.gmail.com
State Changes Requested, archived
Delegated to: David Miller
Headers show
Series qmi_wwan: Added support for Fibocom NL668 series | expand

Commit Message

Jörgen Storvist Dec. 9, 2018, 3:35 p.m. UTC
Added support for Fibocom NL668 series exposing QMI WWAN interface in
USB mode: AT+GTUSBMODE=17.
QMI_QUIRK_SET_DTR for Fibocom VID and PID required by Qualcomm MDM9x07 chipsets.

Signed-off-by: Jörgen Storvist <jorgen.storvist@gmail.com>

 drivers/net/usb/qmi_wwan.c | 1 +
 1 file changed, 1 insertion(+)

  {QMI_GOBI1K_DEVICE(0x05c6, 0x9212)}, /* Acer Gobi Modem Device */

Comments

David Miller Dec. 9, 2018, 7:50 p.m. UTC | #1
From: Jörgen Storvist <jorgen.storvist@gmail.com>
Date: Sun, 9 Dec 2018 16:35:48 +0100

> Added support for Fibocom NL668 series exposing QMI WWAN interface in
> USB mode: AT+GTUSBMODE=17.
> QMI_QUIRK_SET_DTR for Fibocom VID and PID required by Qualcomm MDM9x07 chipsets.
> 
> Signed-off-by: Jörgen Storvist <jorgen.storvist@gmail.com>
> 
>  drivers/net/usb/qmi_wwan.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c
> index 72a55b6..820081e 100644
> --- a/drivers/net/usb/qmi_wwan.c
> +++ b/drivers/net/usb/qmi_wwan.c
> @@ -1263,6 +1263,7 @@ static const struct usb_device_id products[] = {
>   {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(0x1508, 0x1001, 4)}, /* Fibocom NL668 series
> (AT+GTUSBMODE=17) */

Your email client corrupted the patch, it broke up this long line.

Please fix this, email a test patch to yourself, and do not repost your
patch to the list until you can successfully apply the patch in that
test email.

Thank you.
diff mbox series

Patch

diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c
index 72a55b6..820081e 100644
--- a/drivers/net/usb/qmi_wwan.c
+++ b/drivers/net/usb/qmi_wwan.c
@@ -1263,6 +1263,7 @@  static const struct usb_device_id products[] = {
  {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(0x1508, 0x1001, 4)}, /* Fibocom NL668 series
(AT+GTUSBMODE=17) */

  /* 4. Gobi 1000 devices */