Re: [PATCH] ALSA: pcmtest: Honor the enable parameter

From: Takashi Iwai

Date: Tue Oct 27 2026 - 02:39:04 EST


On Tue, 27 Oct 2026 02:22:27 +0100,
HyeongJun An wrote:
>
> The enable module parameter is declared and documented as "Enable
> pcmtest soundcard.", but nothing reads it. Loading the module with
> enable=0 still creates the card.
>
> Return -ENODEV from mod_init() when enable is false, as the pcsp driver
> does.
>
> Fixes: 315a3d57c64c ("ALSA: Implement the new Virtual PCM Test Driver")
> Signed-off-by: HyeongJun An <sammiee5311@xxxxxxxxx>

Applied now. Thanks.


Takashi