diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2009-03-24 17:37:14 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-04-05 21:46:17 -0400 |
commit | 1661c6155589f8faa1338f3cda696ea3f4cb2da1 (patch) | |
tree | a1b84c009a601c366f6113a19bc0ac85aab2953c | |
parent | 0221c81b1b8eb0cbb6b30a0ced52ead32d2b4e4c (diff) |
ALSA: opl3sa2: add ZV port control
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>
-rw-r--r-- | sound/isa/opl3sa2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/isa/opl3sa2.c b/sound/isa/opl3sa2.c index ef95279da7a3..0481a55334b9 100644 --- a/sound/isa/opl3sa2.c +++ b/sound/isa/opl3sa2.c | |||
@@ -481,6 +481,7 @@ OPL3SA2_DOUBLE_TLV("Master Playback Volume", 0, 0x07, 0x08, 0, 0, 15, 1, | |||
481 | OPL3SA2_SINGLE("Mic Playback Switch", 0, 0x09, 7, 1, 1), | 481 | OPL3SA2_SINGLE("Mic Playback Switch", 0, 0x09, 7, 1, 1), |
482 | OPL3SA2_SINGLE_TLV("Mic Playback Volume", 0, 0x09, 0, 31, 1, | 482 | OPL3SA2_SINGLE_TLV("Mic Playback Volume", 0, 0x09, 0, 31, 1, |
483 | db_scale_5bit_12db_max), | 483 | db_scale_5bit_12db_max), |
484 | OPL3SA2_SINGLE("ZV Port Switch", 0, 0x02, 0, 1, 0), | ||
484 | }; | 485 | }; |
485 | 486 | ||
486 | static struct snd_kcontrol_new snd_opl3sa2_tone_controls[] = { | 487 | static struct snd_kcontrol_new snd_opl3sa2_tone_controls[] = { |