diff options
author | Johan Hovold <johan@kernel.org> | 2020-09-21 15:59:49 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-25 17:01:12 +0200 |
commit | 960c7339de27c6d6fec13b54880501c3576bb08d (patch) | |
tree | fefd02493c4c93631bd57d0f7a10d55c912c2d50 /drivers/crypto | |
parent | e3be44cd43f312324d4eb5cdbfea184628c333fc (diff) | |
download | linux-960c7339de27c6d6fec13b54880501c3576bb08d.tar.bz2 |
USB: cdc-acm: handle broken union descriptors
Handle broken union functional descriptors where the master-interface
doesn't exist or where its class is of neither Communication or Data
type (as required by the specification) by falling back to
"combined-interface" probing.
Note that this still allows for handling union descriptors with switched
interfaces.
This specifically makes the Whistler radio scanners TRX series devices
work with the driver without adding further quirks to the device-id
table.
Reported-by: Daniel Caujolle-Bert <f1rmb.daniel@gmail.com>
Tested-by: Daniel Caujolle-Bert <f1rmb.daniel@gmail.com>
Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20200921135951.24045-3-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions