• Bjørn Mork's avatar
    qmi_wwan: apply SET_DTR quirk to the SIMCOM shared device ID · 102cd909
    Bjørn Mork authored
    SIMCOM are reusing a single device ID for many (all of their?)
    different modems, based on different chipsets and firmwares. Newer
    Qualcomm chipset generations require setting DTR to wake the QMI
    function.  The SIM7600E modem is using such a chipset, making it
    fail to work with this driver despite the device ID match.
    
    Fix by unconditionally enabling the SET_DTR quirk for all SIMCOM
    modems using this specific device ID.  This is similar to what
    we already have done for another case of device IDs recycled over
    multiple chipset generations: 14cf4a77 ("drivers: net: usb:
    qmi_wwan: add QMI_QUIRK_SET_DTR for Telit PID 0x1201")
    
    Initial testing on an older SIM7100 modem shows no immediate side
    effects.
    Reported-by: default avatarSebastian Sjoholm <sebastian.sjoholm@gmail.com>
    Cc: Reinhard Speyerer <rspmn@arcor.de>
    Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    102cd909
qmi_wwan.c 48 KB