Skip to content

Commit

Permalink
ALSA: opl3sa2: add ZV port control
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Krzysztof Helt authored and Takashi Iwai committed Apr 6, 2009
1 parent 0221c81 commit 1661c61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/isa/opl3sa2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down

0 comments on commit 1661c61

Please sign in to comment.