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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2019 04:25:18 +0000 (06:25 +0200)
commitd93cb34931281dfc0cbab4563a13b8c6ffc340f6
treea79395c8bd839c441a31b91b1e5cc8137940031e
parent079d7d8e2a6119d4cc7e02852f0ed6f994a8df8a
USB: serial: option: set driver_info for SIM5218 and compatibles

commit f8df5c2c3e2df5ffaf9fb5503da93d477a8c7db4 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/option.c