diff options
| author | HyeongJun An <sammiee5311@gmail.com> | 2026-10-27 10:22:27 +0900 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-10-27 07:38:01 +0100 |
| commit | fe3b45a0875a8b0944d2adee3ca62283d876edc0 (patch) | |
| tree | b8f6782ab63f684f5be8c2514ed3be6dd1507d88 /scripts/basic | |
| parent | 493a77a9f20fca07ca5654f61c1b03bef035df25 (diff) | |
| download | linux-fe3b45a0875a8b0944d2adee3ca62283d876edc0.tar.gz linux-fe3b45a0875a8b0944d2adee3ca62283d876edc0.zip | |
ALSA: pcmtest: Honor the enable parameter
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@gmail.com>
Link: https://patch.msgid.link/20261027012228.3797565-1-sammiee5311@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
