| From foo@baz Thu Dec 21 09:02:40 CET 2017 |
| From: Tony Lindgren <tony@atomide.com> |
| Date: Sun, 19 Mar 2017 09:19:57 -0700 |
| Subject: net: qmi_wwan: Add USB IDs for MDM6600 modem on Motorola Droid 4 |
| |
| From: Tony Lindgren <tony@atomide.com> |
| |
| |
| [ Upstream commit 4071898bf0f4d79ff353db327af2a15123272548 ] |
| |
| This gets qmicli working with the MDM6600 modem. |
| |
| Cc: Bjørn Mork <bjorn@mork.no> |
| Reviewed-by: Sebastian Reichel <sre@kernel.org> |
| Tested-by: Sebastian Reichel <sre@kernel.org> |
| Signed-off-by: Tony Lindgren <tony@atomide.com> |
| Acked-by: Bjørn Mork <bjorn@mork.no> |
| Signed-off-by: David S. Miller <davem@davemloft.net> |
| Signed-off-by: Sasha Levin <alexander.levin@verizon.com> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| drivers/net/usb/qmi_wwan.c | 4 ++++ |
| 1 file changed, 4 insertions(+) |
| |
| --- a/drivers/net/usb/qmi_wwan.c |
| +++ b/drivers/net/usb/qmi_wwan.c |
| @@ -582,6 +582,10 @@ static const struct usb_device_id produc |
| USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, USB_CLASS_VENDOR_SPEC, 0x01, 0x69), |
| .driver_info = (unsigned long)&qmi_wwan_info, |
| }, |
| + { /* Motorola Mapphone devices with MDM6600 */ |
| + USB_VENDOR_AND_INTERFACE_INFO(0x22b8, USB_CLASS_VENDOR_SPEC, 0xfb, 0xff), |
| + .driver_info = (unsigned long)&qmi_wwan_info, |
| + }, |
| |
| /* 2. Combined interface devices matching on class+protocol */ |
| { /* Huawei E367 and possibly others in "Windows mode" */ |