projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
775c73d
)
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
Paolo Abeni
<pabeni@redhat.com>
Tue, 7 Mar 2023 14:27:01 +0000
(15:27 +0100)
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>
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 c89639381eca3e847387834d64fcb5d5a803c063..cd4083e0b3b9e6bf8c8fa08ce5b6006d33d9bedd 100644
(file)
--- a/
drivers/net/usb/cdc_mbim.c
+++ b/
drivers/net/usb/cdc_mbim.c
@@
-665,6
+665,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,