Skip to content

Commit

Permalink
drivers/net/usb: Quectel EG25/EC25 modem changes for QMI WWAN
Browse files Browse the repository at this point in the history
This commit tweaks support for Quectel EG25/EC25 module in the qmi
code. It add zero length path support as part of the driver info
and registers the EG25/EC25 as part of the quirks on the usb serial
interfaces since it seems to have been missing.

Signed-off-by: Aswath Gajendran <aswath.gajendran@chargepoint.com>
  • Loading branch information
aswathgajendran-cpi authored and vagrant committed Apr 26, 2022
1 parent c940bc0 commit 723cf7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions drivers/net/usb/qmi_wwan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1369,6 +1369,7 @@ static const struct usb_device_id products[] = {
{QMI_FIXED_INTF(0x22de, 0x9061, 3)}, /* WeTelecom WPD-600N */
{QMI_QUIRK_SET_DTR(0x1e0e, 0x9001, 5)}, /* SIMCom 7100E, 7230E, 7600E ++ */
{QMI_QUIRK_SET_DTR(0x2c7c, 0x0121, 4)}, /* Quectel EC21 Mini PCIe */
{QMI_QUIRK_SET_DTR(0x2c7c, 0x0125, 4)}, /* Quectel EC25/EG25 Module */
{QMI_QUIRK_SET_DTR(0x2c7c, 0x0191, 4)}, /* Quectel EG91 */
{QMI_QUIRK_SET_DTR(0x2c7c, 0x0195, 4)}, /* Quectel EG95 */
{QMI_FIXED_INTF(0x2c7c, 0x0296, 4)}, /* Quectel BG96 */
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/serial/option.c
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ static const struct usb_device_id option_ids[] = {
.driver_info = NUMEP2 },
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC21, 0xff, 0, 0) },
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC25, 0xff, 0xff, 0xff),
.driver_info = NUMEP2 },
.driver_info = NUMEP2 | ZLP },
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC25, 0xff, 0, 0) },
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EG95, 0xff, 0xff, 0xff),
.driver_info = NUMEP2 },
Expand Down

0 comments on commit 723cf7d

Please sign in to comment.