]> www.infradead.org Git - users/jedix/linux-maple.git/commit
USB: serial: option: match on interface class for Telit FN990B
authorJohan Hovold <johan@kernel.org>
Thu, 6 Mar 2025 10:44:41 +0000 (11:44 +0100)
committerJohan Hovold <johan@kernel.org>
Thu, 6 Mar 2025 10:55:55 +0000 (11:55 +0100)
commit9a665fe3d967fe46edb4fd2497c7a5cc2dac2f55
tree5e6edaedd5b94ac62133988b186b155ad03ba816
parent0ad2507d5d93f39619fc42372c347d6006b64319
USB: serial: option: match on interface class for Telit FN990B

The device id entries for Telit FN990B ended up matching only on the
interface protocol. While this works, the protocol is qualified by the
interface class (and subclass) which should have been included.

Switch to matching using USB_DEVICE_AND_INTERFACE_INFO() while keeping
the entries sorted also by protocol for consistency.

Link: https://lore.kernel.org/20250227110655.3647028-2-fabio.porcedda@gmail.com/
Cc: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Daniele Palmas <dnlplm@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/option.c