]> git.baikalelectronics.ru Git - kernel.git/commit
qmi_wwan: apply SET_DTR quirk to the SIMCOM shared device ID
authorBjørn Mork <bjorn@mork.no>
Fri, 25 May 2018 13:00:20 +0000 (15:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2018 03:13:02 +0000 (23:13 -0400)
commit3b94d826b2766d1f5a2798f374196195e13e5e77
treef38c00ec33bd24ed002b88a6ae760231d1fcadd1
parent911d8e30168a9c5bb14e89e6f636deb450aacddb
qmi_wwan: apply SET_DTR quirk to the SIMCOM shared device ID

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: 0de60c4bc944 ("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: Sebastian Sjoholm <sebastian.sjoholm@gmail.com>
Cc: Reinhard Speyerer <rspmn@arcor.de>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/qmi_wwan.c