]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
USB: serial: option: add two-endpoints device-id flag
authorJohan Hovold <johan@kernel.org>
Thu, 13 Sep 2018 09:21:50 +0000 (11:21 +0200)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:53:09 +0000 (19:53 -0600)
commitda7c7457a43f87502ed5dde0c4224c70e3d14d7d
tree170b1225a5a1fa516b4ec21740d5252bd32452d7
parent9d5bb9f500a7e595033126edc70d1f3b9c297cab
USB: serial: option: add two-endpoints device-id flag

BugLink: https://bugs.launchpad.net/bugs/1836426
commit 35aecc02b5b621782111f64cbb032c7f6a90bb32 upstream.

Allow matching on interfaces having two endpoints by adding a new
device-id flag.

This allows for the handling of devices whose interface numbers can
change (e.g. Quectel EP06) to be contained in the device-id table.

Tested-by: Kristian Evensen <kristian.evensen@gmail.com>
Cc: stable <stable@vger.kernel.org>
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: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/usb/serial/option.c