USB: serial: option: set driver_info for SIM5218 and compatibles
authorMans Rullgard <mans@mansr.com>
Tue, 26 Feb 2019 17:07:10 +0000 (17:07 +0000)
committerJohan Hovold <johan@kernel.org>
Tue, 19 Mar 2019 10:32:06 +0000 (11:32 +0100)
commitf8df5c2c3e2df5ffaf9fb5503da93d477a8c7db4
tree8fa58da03df08e533a8731b109bb49d90a850311
parent422c2537ba9d42320f8ab6573940269f87095320
USB: serial: option: set driver_info for SIM5218 and compatibles

The SIMCom SIM5218 and compatible devices have 5 USB interfaces, only 4
of which are serial ports.  The fifth is a network interface supported
by the qmi-wwan driver.  Furthermore, the serial ports do not support
modem control signals.  Add driver_info flags to reflect this.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Fixes: ec0cd94d881c ("usb: option: add SIMCom SIM5218")
Cc: stable <stable@vger.kernel.org> # 3.2
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/option.c