Skip to contentSkip to conversation

qmi_wwan: add support for Quectel EG91

PATCH Superseded Matevz Vucnik 2 participants 3 messages Jul 4, 2018 1 message not in the archive

Subsystems (5)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qmi_wwan: add support for Quectel EG91

This adds the USB id of LTE modem Quectel EG91. It requires the same quirk as other Quectel modems to make it work.

---
 drivers/net/usb/qmi_wwan.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/usb/qmi_wwan.c +1 -0
index 8fac8e1..829c05b 100644
@@ -1255,6 +1255,7 @@ static const struct usb_device_id products[] = {
 	{QMI_QUIRK_SET_DTR(0x2c7c, 0x0121, 4)},	/* Quectel EC21 Mini PCIe */
 	{QMI_FIXED_INTF(0x2c7c, 0x0296, 4)},	/* Quectel BG96 */
 	{QMI_QUIRK_SET_DTR(0x2c7c, 0x0306, 4)},	/* Quectel EP06 Mini PCIe */
+	{QMI_QUIRK_SET_DTR(0x2c7c, 0x0191, 4)},	/* Quectel EG91 */
 
 	/* 4. Gobi 1000 devices */
 	{QMI_GOBI1K_DEVICE(0x05c6, 0x9212)},	/* Acer Gobi Modem Device */
maintainer
#1 lore raw
Quoted 13 lines · Matevz Vucnik

This adds the USB id of LTE modem Quectel EG91. It requires the same quirk as other Quectel modems to make it work.

---
drivers/net/usb/qmi_wwan.c | 1 +

1 file changed, 1 insertion(+)
drivers/net/usb/qmi_wwan.c +0 -0
index 8fac8e1..829c05b 100644

drivers/net/usb/qmi_wwan.c static const struct usb_device_id products[] = { · line 1261

Quoted 7 lines
drivers/net/usb/qmi_wwan.c +1 -0
@@ -1255,6 +1255,7 @@ static const struct usb_device_id products[] = {
 	{QMI_QUIRK_SET_DTR(0x2c7c, 0x0121, 4)},	/* Quectel EC21 Mini PCIe */
 	{QMI_FIXED_INTF(0x2c7c, 0x0296, 4)},	/* Quectel BG96 */
 	{QMI_QUIRK_SET_DTR(0x2c7c, 0x0306, 4)},	/* Quectel EP06 Mini PCIe */
+	{QMI_QUIRK_SET_DTR(0x2c7c, 0x0191, 4)},	/* Quectel EG91 */
 
 	/* 4. Gobi 1000 devices */
 	{QMI_GOBI1K_DEVICE(0x05c6, 0x9212)},	/* Acer Gobi Modem Device */

I know it's not perfect before, but can we try to keep new entries in numerical order?

Thanks

Bjørn
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

maintainer
#3 lore raw
In reply to a message not in the archive
Quoted 2 lines · Matevž Vučnik

Sorry, I missed this one. It's a good idea to keep numerical order. Is it ok to fix it and send a new patch?

Yes, sure. Just label it as v2 or similar to make it clear that it's a new version of the same patch.

Bjørn
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html