Re: [PATCH v2 0/2] ALSA: pcmtest: Add a volume control with event fault injection

From: Takashi Iwai

Date: Thu Nov 12 2026 - 09:11:43 EST


On Wed, 11 Nov 2026 10:04:27 +0100,
HyeongJun An wrote:
>
> Hello Takashi,
>
> This is the non-RFC version of [1], which Mark found reasonable [2].
>
> Patch 1 fixes the places where pcmtest.rst does not match the driver.
> Patch 2 adds the volume control and its two fault parameters, and
> documents them.
>
> mixer-test results on the new control, under qemu on sound/for-next:
>
> no fault all 8 checks pass
> inject_ctl_no_event=1 only event_missing fails
> inject_ctl_spurious_event=1 only event_spurious fails
>
> The pcmtest selftest still passes all 10 tests.
>
> Changes since the RFC:
> - document the new parameters
> - rename the control to "Test Playback Volume", which the OSS mixer
> emulation does not map
> - add the documentation fix as patch 1
>
> [1] https://lore.kernel.org/all/20261103011000.1012035-1-sammiee5311@xxxxxxxxx/
> [2] https://lore.kernel.org/all/61df01a7-10ee-407e-879f-d9c1085a5d43@xxxxxxxxxxxxx/
>
> Prepared with Claude Code (Claude Opus 5.5). Tested on x86_64 under qemu.
>
> Best regards,
> HyeongJun An
>
> HyeongJun An (2):
> ALSA: doc: pcmtest: Update to match the driver
> ALSA: pcmtest: Add a volume control with event fault injection

Applied both patches to for-next branch. Thanks.


Takashi