]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:49:57 +0000 (19:49 -0600)
commite9717de400f3b3c4d8a3f2104cbfb1102f719615
tree520b8013bf11270bb3747664f0297e74e952c30c
parent2ba737abc758458a034796ab0568bd65ad962c05
qmi_wwan: set DTR for modems in forced USB2 mode

BugLink: https://bugs.launchpad.net/bugs/1836287
[ Upstream commit 922005c7f50e7f4b2a6dbc182e9c575b4f92396b ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/usb/qmi_wwan.c