Re: [PATCH v33 04/18] ALSA: pcm: notify drivers after linked prepare completes
From: Joonho Lee
Date: Thu Dec 03 2026 - 20:03:46 EST
Hi Takashi,
I tested virtio-snd without "prepare_complete" on QEMU. At first guess I
thought it needs a direct callback at that time, but I think that not
introducing the callback from your introduction is much more beneficial.
But in some cases, if both streams were already PREPARED when B's
re-prepare failed, userspace could still call START on the group. A
started on the device, B rejected START, and ALSA stopped A and returned
-EPIPE. Is this rollback implementation policy is acceptable? Love to
hear your thoughts.
Thanks,
Joonho