Re: [PATCH 0/3] ASoC: qcom: qdsp6: report the position of a drained buffer
From: Mark Brown
Date: Thu Oct 15 2026 - 18:07:29 EST
On Wed, 14 Oct 2026 19:26:59 +0300, Vladyslav Tymoshchuk wrote:
> ASoC: qcom: qdsp6: report the position of a drained buffer
>
> Since commit a93dad6f4e6a ("ASoC: q6apm-dai: make use of
> q6apm_get_hw_pointer") q6apm-dai reports one frame less than the
> position of the last buffer the DSP returned, and commit 44432315444c
> ("ASoC: qcom: q6asm-dai: use q6asm_get_hw_pointer") did the same in
> q6asm-dai. When the application stops feeding a playback stream, the
> position never reaches appl_ptr: ALSA never sees the underrun, the
> stream stays RUNNING without period interrupts, and drain ends on its
> timeout with -EIO. On a OnePlus Pad 3 (SM8750) this left PipeWire's
> PCM stuck for hours after a stall.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.4
Thanks!
[1/3] ASoC: qcom: q6apm-dai: wrap the position of a full ring to 0
https://git.kernel.org/broonie/sound/c/0ea3e0b196f9
[2/3] ASoC: qcom: q6apm: reset the hw pointer with the fragment queue
https://git.kernel.org/broonie/sound/c/0337b8129cf6
[3/3] ASoC: qcom: q6asm-dai: wrap the position of a full ring to 0
https://git.kernel.org/broonie/sound/c/222d04cf55bc
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark