> TX completions can arrive after PAUSE closes transfer admission. > Preserve that progress and schedule catch-up when the stream resumes or > a rejected pause restores RUNNING. Cache device latency in stream-owned > state so a late completion does not need to dereference the ALSA > runtime. Clear both the cache and runtime delay on prepare and before > RESET observes the hardware pointer. > > A playback pointer callback can also invoke ACK while the core has > closed buffer-access admission, after the pointer helper has already > accounted for completed hardware bytes. Track that callback context and > refill only previously committed data using pcm_indirect.appl_ptr. Keep > rejecting other ACKs while the gate is closed, and use the > explicit-pointer helper from patch 16 for the refill. If > runtime->control is absent, route the condition through the common > playback validator and XRUN error path rather than returning before > [ ... ] > audio were not tested. The tree through patch 15 was inspected but was > not run as a separate control. Full-series runtime is not claimed here. > > Assisted-by: LLM > Signed-off-by: Joonho Lee <[email protected]>
Sashiko has reviewed this patch and found no issues. -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=17
