linux/sound/drivers
HyeongJun An fe3b45a087 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: 315a3d57c6 ("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>
2026-10-27 07:38:01 +01:00
..
mpu401 ALSA: mpu401: shut down timer before freeing MPU 2026-09-28 14:24:15 +02:00
opl3 ALSA: opl3: Shut down the timer after draining sequencer ports 2026-10-26 09:00:56 +01:00
opl4 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
pcsp ALSA: pcsp: Use safer strscpy() instead of strcpy() 2025-07-11 09:51:09 +02:00
vx ALSA: vx: use correct function name in kernel-doc comment 2026-04-17 09:48:20 +02:00
aloop.c ALSA: aloop: Update the PCM Slave controls for a matching playback 2026-10-21 14:55:53 +02:00
dummy.c Merge branch 'for-linus' into for-next 2026-09-28 14:44:10 +02:00
Kconfig ALSA: Make SND_PCMTEST depend on DEBUG_FS 2023-08-18 09:10:22 +02:00
Makefile ALSA: drivers: Use *-y instead of *-objs in Makefile 2024-05-08 18:17:57 +02:00
mtpav.c ALSA: mtpav: restore negation dropped in guard() conversion 2026-10-20 12:57:27 +02:00
mts64.c ALSA: mts64: Check card index validity at probe 2026-08-06 18:10:21 +02:00
pcmtest.c ALSA: pcmtest: Honor the enable parameter 2026-10-27 07:38:01 +01:00
portman2x4.c ALSA: portman2x4: Check card index validity at probe 2026-08-06 18:10:21 +02:00
serial-generic.c ALSA/ASoC: use assign_bit() where applicable 2026-09-28 13:08:47 +02:00
serial-u16550.c ALSA: serial-u16550: Check card index validity at probe 2026-08-06 18:10:21 +02:00
virmidi.c ALSA: virmidi: Check card index validity at probe 2026-08-06 18:10:21 +02:00