Commit 00001880 authored by Andrew Bird (Sphere Systems)'s avatar Andrew Bird (Sphere Systems) Committed by David S. Miller

USB: qmi_wwan: Make forced int 4 whitelist generic

Change the forced interface 4 whitelist to use the generic shared
binder instead of the Gobi specific one. Certain ZTE devices
(K3520-Z & K3765-Z) don't work with the Gobi version, but function
quite happily with the generic. This has been tested with the following
devices:
K3520-Z
K3565-Z
K3765-Z
K4505-Z
It hasn't been tested with the ZTE MF820D, which is the only other
device that uses this whitelist at present. Although Bjorn doesn't
expect any problems, any testing with that device would be appreciated.
Signed-off-by: default avatarAndrew Bird <ajb@spheresystems.co.uk>
Acked-by: default avatarBjørn Mork <bjorn@mork.no>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 413c27d8
...@@ -357,9 +357,9 @@ static const struct driver_info qmi_wwan_gobi = { ...@@ -357,9 +357,9 @@ static const struct driver_info qmi_wwan_gobi = {
/* ZTE suck at making USB descriptors */ /* ZTE suck at making USB descriptors */
static const struct driver_info qmi_wwan_force_int4 = { static const struct driver_info qmi_wwan_force_int4 = {
.description = "Qualcomm Gobi wwan/QMI device", .description = "Qualcomm WWAN/QMI device",
.flags = FLAG_WWAN, .flags = FLAG_WWAN,
.bind = qmi_wwan_bind_gobi, .bind = qmi_wwan_bind_shared,
.unbind = qmi_wwan_unbind_shared, .unbind = qmi_wwan_unbind_shared,
.manage_power = qmi_wwan_manage_power, .manage_power = qmi_wwan_manage_power,
.data = BIT(4), /* interface whitelist bitmap */ .data = BIT(4), /* interface whitelist bitmap */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment