1 From df8d85d8c69d6837817e54dcb73c84a8b5a13877 Mon Sep 17 00:00:00 2001
2 From: Filip Moc <dev@moc6.cz>
3 Date: Tue, 17 Nov 2020 18:36:31 +0100
4 Subject: net: usb: qmi_wwan: Set DTR quirk for MR400
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 LTE module MR400 embedded in TL-MR6400 v4 requires DTR to be set.
11 Signed-off-by: Filip Moc <dev@moc6.cz>
12 Acked-by: Bjørn Mork <bjorn@mork.no>
13 Link: https://lore.kernel.org/r/20201117173631.GA550981@moc6.cz
14 Signed-off-by: Jakub Kicinski <kuba@kernel.org>
16 drivers/net/usb/qmi_wwan.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
19 --- a/drivers/net/usb/qmi_wwan.c
20 +++ b/drivers/net/usb/qmi_wwan.c
21 @@ -1092,7 +1092,7 @@ static const struct usb_device_id produc
22 {QMI_FIXED_INTF(0x05c6, 0x9011, 4)},
23 {QMI_FIXED_INTF(0x05c6, 0x9021, 1)},
24 {QMI_FIXED_INTF(0x05c6, 0x9022, 2)},
25 - {QMI_FIXED_INTF(0x05c6, 0x9025, 4)}, /* Alcatel-sbell ASB TL131 TDD LTE (China Mobile) */
26 + {QMI_QUIRK_SET_DTR(0x05c6, 0x9025, 4)}, /* Alcatel-sbell ASB TL131 TDD LTE (China Mobile) */
27 {QMI_FIXED_INTF(0x05c6, 0x9026, 3)},
28 {QMI_FIXED_INTF(0x05c6, 0x902e, 5)},
29 {QMI_FIXED_INTF(0x05c6, 0x9031, 5)},