diff options
author | Jiang zhe <zhe.jiang@intel.com> | 2008-04-14 07:26:21 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 06:00:34 -0400 |
commit | 64654c2f9e7875a982a9c3b4456ed11ad811ec61 (patch) | |
tree | 890340bfa207c9b9041d81f1473e154886951f1c /sound/pci/hda | |
parent | 07f51a727462696ddea01c7a7750c27796a0e1f3 (diff) |
[ALSA] hda - Should use HDA_OUTPUT instead of HDA_INPUT to mute pin 15 of ALC880
To mute the output of Pin widget 15 in ALC880, we should use the
HDA_OUTPUT. However, current code looks like :
snd_hda_codec_amp_stereo(codec, 0x15, HDA_INPUT, 0, HDA_AMP_MUTE, bits);
It may be a misspelling.
Signed-off-by: Jiang zhe <zhe.jiang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 0f6de1eb6423..3aa182a16753 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -1894,7 +1894,7 @@ static void alc880_uniwill_p53_hp_automute(struct hda_codec *codec) | |||
1894 | present = snd_hda_codec_read(codec, 0x14, 0, | 1894 | present = snd_hda_codec_read(codec, 0x14, 0, |
1895 | AC_VERB_GET_PIN_SENSE, 0) & 0x80000000; | 1895 | AC_VERB_GET_PIN_SENSE, 0) & 0x80000000; |
1896 | bits = present ? HDA_AMP_MUTE : 0; | 1896 | bits = present ? HDA_AMP_MUTE : 0; |
1897 | snd_hda_codec_amp_stereo(codec, 0x15, HDA_INPUT, 0, HDA_AMP_MUTE, bits); | 1897 | snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0, HDA_AMP_MUTE, bits); |
1898 | } | 1898 | } |
1899 | 1899 | ||
1900 | static void alc880_uniwill_p53_dcvol_automute(struct hda_codec *codec) | 1900 | static void alc880_uniwill_p53_dcvol_automute(struct hda_codec *codec) |