crosvm/devices/src
Chih-Yang Hsia 049746fb8a device: virtio: snd: Call release_worker in prepare
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>
2021-12-07 03:33:47 +00:00
..
irqchip devices: Use Mutex to protect bus->devices 2021-10-21 05:42:49 +00:00
pci pci_root: Don't assume register bit number is eight 2021-12-07 01:11:42 +00:00
platform Uprev to rust 1.55.0 2021-10-19 19:12:52 +00:00
register_space devices/register_space: use Copy rather than Clone 2021-08-25 23:02:28 +00:00
usb cleanup: Fix previously disabled clippy checks 2021-11-12 23:23:48 +00:00
utils devices: convert to ThisError and sort 2021-09-02 21:00:20 +00:00
virtio device: virtio: snd: Call release_worker in prepare 2021-12-07 03:33:47 +00:00
acpi.rs devices: acpi: collapsed nested if inside else 2021-05-06 22:06:57 +00:00
bat.rs devices: convert to ThisError and sort 2021-09-02 21:00:20 +00:00
bus.rs devices:pci: Destroy the children devices at specific config write 2021-11-19 22:10:14 +00:00
cmos.rs
direct_io.rs Devices: Use mmap for direct mmio r/w 2021-11-23 20:16:54 +00:00
direct_irq.rs devices: convert to ThisError and sort 2021-09-02 21:00:20 +00:00
i8042.rs
lib.rs Devices: Use mmap for direct mmio r/w 2021-11-23 20:16:54 +00:00
pit.rs devices: convert to ThisError and sort 2021-09-02 21:00:20 +00:00
pl030.rs
proxy.rs Revert "Conditionally apply linux-only operations" 2021-12-02 14:15:17 +00:00
serial.rs
serial_device.rs devices: Serial devices can be backed by FD via /proc/self/fd/N 2021-10-27 00:38:43 +00:00
vfio.rs devices: vfio: Define IommuType enum 2021-12-06 14:58:11 +00:00