projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41b67e6
)
net: usb: cdc_mbim: avoid altsetting toggling for Telit FE990
author
Enrico Sau
<enrico.sau@gmail.com>
Mon, 6 Mar 2023 11:59:33 +0000
(12:59 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 30 Mar 2023 10:47:54 +0000
(12:47 +0200)
[ Upstream commit
418383e6ed6b4624a54ec05c535f13d184fbf33b
]
Add quirk CDC_MBIM_FLAG_AVOID_ALTSETTING_TOGGLE for Telit FE990
0x1081 composition in order to avoid bind error.
Signed-off-by: Enrico Sau <enrico.sau@gmail.com>
Link:
https://lore.kernel.org/r/20230306115933.198259-1-enrico.sau@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/usb/cdc_mbim.c
patch
|
blob
|
history
diff --git
a/drivers/net/usb/cdc_mbim.c
b/drivers/net/usb/cdc_mbim.c
index c0b8b4aa78f37997156b29c311e4498f85a18673..a3ccf0cee093c238140ef8514223356718426adc 100644
(file)
--- a/
drivers/net/usb/cdc_mbim.c
+++ b/
drivers/net/usb/cdc_mbim.c
@@
-664,6
+664,11
@@
static const struct usb_device_id mbim_devs[] = {
.driver_info = (unsigned long)&cdc_mbim_info_avoid_altsetting_toggle,
},
+ /* Telit FE990 */
+ { USB_DEVICE_AND_INTERFACE_INFO(0x1bc7, 0x1081, USB_CLASS_COMM, USB_CDC_SUBCLASS_MBIM, USB_CDC_PROTO_NONE),
+ .driver_info = (unsigned long)&cdc_mbim_info_avoid_altsetting_toggle,
+ },
+
/* default entry */
{ USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_MBIM, USB_CDC_PROTO_NONE),
.driver_info = (unsigned long)&cdc_mbim_info_zlp,