Re: [RFC PATCH] ALSA: pcmtest: Add a volume control with event fault injection

From: Mark Brown

Date: Tue Nov 03 2026 - 12:21:31 EST


On Tue, Nov 03, 2026 at 10:10:00AM +0900, HyeongJun An wrote:

> mixer-test runs eight checks on each control. To see one of them fail
> today, you need hardware with the bug or a driver broken by hand. I
> broke snd-dummy by hand to test the side effect check. This patch does
> the same for the two event checks, with module parameters.

> Two questions:

> 1. Is this useful enough to cover the other six checks too?

> 2. Should it live in pcmtest, or in a separate driver? pcmtest already
> has the inject_* parameters and a selftest, so it seemed the natural
> place.

It seems reasonable enough to me FWIW.

Attachment: signature.asc
Description: PGP signature