diff options
author | Johan Hovold <johan@kernel.org> | 2018-01-17 22:46:41 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-22 09:34:37 -0500 |
commit | 46fe895e22ab3845515ec06b01eaf1282b342e29 (patch) | |
tree | 19be144c68e68125fe088a902d8cf1c9c2cb5e01 /drivers/usb/serial/usb-serial-simple.c | |
parent | df1cc78a52491f71d8170d513d0f6f114faa1bda (diff) |
USB: serial: simple: add Motorola Tetra driver
Add new Motorola Tetra (simple) driver for Motorola Solutions TETRA PEI
devices.
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0cad ProdID=9011 Rev=24.16
S: Manufacturer=Motorola Solutions Inc.
S: Product=Motorola Solutions TETRA PEI interface
C: #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
Note that these devices do not support the CDC SET_CONTROL_LINE_STATE
request (for any interface).
Reported-by: Max Schulze <max.schulze@posteo.de>
Tested-by: Max Schulze <max.schulze@posteo.de>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/usb-serial-simple.c')
-rw-r--r-- | drivers/usb/serial/usb-serial-simple.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/serial/usb-serial-simple.c b/drivers/usb/serial/usb-serial-simple.c index 74172fe158df..4ef79e29cb26 100644 --- a/drivers/usb/serial/usb-serial-simple.c +++ b/drivers/usb/serial/usb-serial-simple.c | |||
@@ -77,6 +77,11 @@ DEVICE(vivopay, VIVOPAY_IDS); | |||
77 | { USB_DEVICE(0x22b8, 0x2c64) } /* Motorola V950 phone */ | 77 | { USB_DEVICE(0x22b8, 0x2c64) } /* Motorola V950 phone */ |
78 | DEVICE(moto_modem, MOTO_IDS); | 78 | DEVICE(moto_modem, MOTO_IDS); |
79 | 79 | ||
80 | /* Motorola Tetra driver */ | ||
81 | #define MOTOROLA_TETRA_IDS() \ | ||
82 | { USB_DEVICE(0x0cad, 0x9011) } /* Motorola Solutions TETRA PEI */ | ||
83 | DEVICE(motorola_tetra, MOTOROLA_TETRA_IDS); | ||
84 | |||
80 | /* Novatel Wireless GPS driver */ | 85 | /* Novatel Wireless GPS driver */ |
81 | #define NOVATEL_IDS() \ | 86 | #define NOVATEL_IDS() \ |
82 | { USB_DEVICE(0x09d7, 0x0100) } /* NovAtel FlexPack GPS */ | 87 | { USB_DEVICE(0x09d7, 0x0100) } /* NovAtel FlexPack GPS */ |
@@ -107,6 +112,7 @@ static struct usb_serial_driver * const serial_drivers[] = { | |||
107 | &google_device, | 112 | &google_device, |
108 | &vivopay_device, | 113 | &vivopay_device, |
109 | &moto_modem_device, | 114 | &moto_modem_device, |
115 | &motorola_tetra_device, | ||
110 | &novatel_gps_device, | 116 | &novatel_gps_device, |
111 | &hp4x_device, | 117 | &hp4x_device, |
112 | &suunto_device, | 118 | &suunto_device, |
@@ -122,6 +128,7 @@ static const struct usb_device_id id_table[] = { | |||
122 | GOOGLE_IDS(), | 128 | GOOGLE_IDS(), |
123 | VIVOPAY_IDS(), | 129 | VIVOPAY_IDS(), |
124 | MOTO_IDS(), | 130 | MOTO_IDS(), |
131 | MOTOROLA_TETRA_IDS(), | ||
125 | NOVATEL_IDS(), | 132 | NOVATEL_IDS(), |
126 | HP4X_IDS(), | 133 | HP4X_IDS(), |
127 | SUUNTO_IDS(), | 134 | SUUNTO_IDS(), |