mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ALSA: pcmtest: Add a volume control with event fault injection
@ 2026-11-11  9:04 HyeongJun An
  2026-11-11  9:04 ` [PATCH v2 1/2] ALSA: doc: pcmtest: Update to match the driver HyeongJun An
  2026-11-11  9:04 ` [PATCH v2 2/2] ALSA: pcmtest: Add a volume control with event fault injection HyeongJun An
  0 siblings, 2 replies; 3+ messages in thread
From: HyeongJun An @ 2026-11-11  9:04 UTC (permalink / raw)
  To: tiwai
  Cc: perex, ivan.orlov0322, broonie, linux-sound, linux-kernel, HyeongJun An

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@gmail.com/
[2] https://lore.kernel.org/all/61df01a7-10ee-407e-879f-d9c1085a5d43@sirena.org.uk/

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

 Documentation/sound/cards/pcmtest.rst | 25 ++++++++--
 sound/drivers/pcmtest.c               | 68 +++++++++++++++++++++++++++
 2 files changed, 89 insertions(+), 4 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-11  9:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11  9:04 [PATCH v2 0/2] ALSA: pcmtest: Add a volume control with event fault injection HyeongJun An
2026-11-11  9:04 ` [PATCH v2 1/2] ALSA: doc: pcmtest: Update to match the driver HyeongJun An
2026-11-11  9:04 ` [PATCH v2 2/2] ALSA: pcmtest: Add a volume control with event fault injection HyeongJun An

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®