Searched hist:"5 fec21e74bfc1db764fdab013162d839cc889290" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/serial/ |
H A D | xr_serial.c | diff 5fec21e74bfc1db764fdab013162d839cc889290 Tue Mar 30 09:38:20 CDT 2021 Johan Hovold <johan@kernel.org> USB: serial: xr: claim both interfaces
Use the new multi-interface support in USB serial core to properly claim also the control interface during probe. This prevents having another driver claim the control interface and makes core allocate resources also for the interrupt endpoint (currently unused).
Switch to probing only Communication Class interfaces and use the Union functional descriptor to determine the corresponding data interface.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
|