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)
committerJohan Hovold <johan@kernel.org>
Fri, 14 Sep 2018 08:37:41 +0000 (10:37 +0200)
commit35aecc02b5b621782111f64cbb032c7f6a90bb32
tree5b8b6b47dbdb0497e8636dd72abfff671bd23752
parent36cae568404a298a19a6e8a3f18641075d4cab04
USB: serial: option: add two-endpoints device-id flag

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>
drivers/usb/serial/option.c