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> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |