]> git.baikalelectronics.ru Git - kernel.git/commit
qmi_wwan: set DTR for modems in forced USB2 mode
authorBjørn Mork <bjorn@mork.no>
Mon, 17 Sep 2018 20:00:24 +0000 (22:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Sep 2018 02:23:27 +0000 (19:23 -0700)
commitcfa29dacbc27aceedbc71525f532e3632d10187f
tree378d2e426ff0077b2f1597aaa2630e6d00052437
parente0faa8b451cd4f50aa09327c86d300e64948ac17
qmi_wwan: set DTR for modems in forced USB2 mode

Recent firmware revisions have added the ability to force
these modems to USB2 mode, hiding their SuperSpeed
capabilities from the host.  The driver has been using the
SuperSpeed capability, as shown by the bcdUSB field of the
device descriptor, to detect the need to enable the DTR
quirk.  This method fails when the modems are forced to
USB2 mode by the modem firmware.

Fix by unconditionally enabling the DTR quirk for the
affected device IDs.

Reported-by: Fred Veldini <fred.veldini@gmail.com>
Reported-by: Deshu Wen <dwen@sierrawireless.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Reported-by: Fred Veldini <fred.veldini@gmail.com>
Reported-by: Deshu Wen <dwen@sierrawireless.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/qmi_wwan.c