summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-06-08 14:48:19 +0200
committerJaroslav Kysela <perex@suse.cz>2005-06-22 12:28:27 +0200
commitead9b7c39984f509dc42d81200109c01a0b689c2 (patch)
tree25af5868623f02a90db0a6ccc032eca7a034195a /sound
parent[ALSA] Fix the handling of amp cache in hda-codec (diff)
downloadlinux-ead9b7c39984f509dc42d81200109c01a0b689c2.tar.xz
linux-ead9b7c39984f509dc42d81200109c01a0b689c2.zip
[ALSA] Fix the PCM mixer switch for AD1986A
HDA Codec driver Fix the PCM mixer switch for AD1986a (it was a typo). Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_analog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index caa486993446..2fd05bb84136 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -318,7 +318,7 @@ static int ad1986a_pcm_amp_vol_put(snd_kcontrol_t *kcontrol, snd_ctl_elem_value_
return change;
}
-#define ad1986a_pcm_amp_sw_info snd_hda_mixer_amp_volume_info
+#define ad1986a_pcm_amp_sw_info snd_hda_mixer_amp_switch_info
static int ad1986a_pcm_amp_sw_get(snd_kcontrol_t *kcontrol, snd_ctl_elem_value_t *ucontrol)
{