Skip to contentSkip to conversation

Should use HDA_OUTPUT instead of HDA_INPUT to mute pin 15 of ALC880

PATCH New Jiang zhe 1 participant 1 message Mar 31, 2008

lore
Share & tools
lore

Jiang zhe

author
#0 lore raw

PATCH 1/1 Should use HDA_OUTPUT instead of HDA_INPUT to mute pin 15 of ALC880

Hi,

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.

Best regards!

alsa-kernel/pci/hda/patch_realtek.c +1 -1
@@ -1894,7 +1894,7 @@ static void alc880_uniwill_p53_hp_automu
  	present = snd_hda_codec_read(codec, 0x14, 0,
 				     AC_VERB_GET_PIN_SENSE, 0) & 0x80000000;
 	bits = present ? HDA_AMP_MUTE : 0;
-	snd_hda_codec_amp_stereo(codec, 0x15, HDA_INPUT, 0, HDA_AMP_MUTE, bits);
+	snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0, HDA_AMP_MUTE, bits);
 }
 
 static void alc880_uniwill_p53_dcvol_automute(struct hda_codec *codec)

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel