Re: [PATCH] selftests/alsa: Check that dB scaled controls are named Volume
From: Takashi Iwai
Date: Wed Dec 02 2026 - 11:04:37 EST
On Mon, 30 Nov 2026 09:54:14 +0100,
HyeongJun An wrote:
>
> control-names.rst gives Volume as the function of a control that sets
> a gain, and new drivers keep naming such controls "... Gain" or
> similar. mixer-test only checks the Switch suffix, so it does not
> report them.
>
> Fail the name test for a writeable integer control that has a dB scale
> but does not end in " Volume". Read-only controls such as meters are
> left alone.
>
> Signed-off-by: HyeongJun An <sammiee5311@xxxxxxxxx>
Applied to for-next branch. Thanks.
Takashi