]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit7d76eeade456ddc7a53cbd0e76b27cd8e61feb41
treec61b5a361d968380dcc226c91d55137336cf7b5e
parentd57d60e8a8b337b53af5dfe2322f1462ff04ec75
USB: serial: option: set driver_info for SIM5218 and compatibles

BugLink: https://bugs.launchpad.net/bugs/1838116
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/usb/serial/option.c