mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
Since VIRTIO_SND_R_PCM_PREPARE -> VIRTIO_SND_R_PCM_PREPARE is a valid transition, we need to release the worker if it's already in VIRTIO_SND_R_PCM_PREPARE state. Or we could trigger ``` Error in handling tx queue: Error in mpsc: send failed because receiver is gone ``` in handle_pcm_queue while sending `desc_chain` to start_pcm_worker through the `stream_info.sender()`. BUG=b:202368198 TEST=Run alsa_conformance_test multiple times Change-Id: I5f8ee370832ee162fdef71d396dfe848d88af7e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3317328 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Chih-Yang Hsia <paulhsia@chromium.org> Reviewed-by: Woody Chow <woodychow@google.com> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> |
||
---|---|---|
.. | ||
irqchip | ||
pci | ||
platform | ||
register_space | ||
usb | ||
utils | ||
virtio | ||
acpi.rs | ||
bat.rs | ||
bus.rs | ||
cmos.rs | ||
direct_io.rs | ||
direct_irq.rs | ||
i8042.rs | ||
lib.rs | ||
pit.rs | ||
pl030.rs | ||
proxy.rs | ||
serial.rs | ||
serial_device.rs | ||
vfio.rs |