]> www.infradead.org Git - users/jedix/linux-maple.git/commit
USB: serial: option: add two-endpoints device-id flag
authorJohan Hovold <johan@kernel.org>
Thu, 1 Nov 2018 19:52:47 +0000 (20:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Nov 2018 15:48:34 +0000 (07:48 -0800)
commitcc2526f1f5544a440c88f48c4681707ca76e3df1
tree43983d46d47c43da7320168a7d388bbff94a8c79
parent86534d3d824351868fb0992e13777933edb91e6f
USB: serial: option: add two-endpoints device-id flag

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.

The upstream commit removes a variable that is still in use in the 4.14
version of the option-driver, so the removal is undone.

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: Kristian Evensen <kristian.evensen@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/serial/option.c