]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: opl3sa2: add ZV port control
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Tue, 24 Mar 2009 21:37:14 +0000 (22:37 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 6 Apr 2009 01:46:17 +0000 (03:46 +0200)
Add ZV port control switch.

This patch is done after solution
given in the ALSA bug #2872 report.
The patch resolves the issue.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/opl3sa2.c

index ef95279da7a3a47a7bcfe5b21674e6c0f063ce7d..0481a55334b9aca8cc8717a9c5161502d80a16ad 100644 (file)
@@ -481,6 +481,7 @@ OPL3SA2_DOUBLE_TLV("Master Playback Volume", 0, 0x07, 0x08, 0, 0, 15, 1,
 OPL3SA2_SINGLE("Mic Playback Switch", 0, 0x09, 7, 1, 1),
 OPL3SA2_SINGLE_TLV("Mic Playback Volume", 0, 0x09, 0, 31, 1,
                   db_scale_5bit_12db_max),
+OPL3SA2_SINGLE("ZV Port Switch", 0, 0x02, 0, 1, 0),
 };
 
 static struct snd_kcontrol_new snd_opl3sa2_tone_controls[] = {