mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
When there is only one configuration listed in a device's descriptors, assume that configuration is the active one without needing to send a blocking control request to get the active configuration from the device. This moves the logic used in the USB host device code into usb_util, so it will be used for all callers of get_active_configuration(). BUG=b:180238956 BUG=chromium:1030778 TEST=Share USB device with Crostini Change-Id: I71a7d12a7edcd1fd0d063af58f63708b3dbda348 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2811858 Reviewed-by: Zach Reizner <zachr@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |