]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - sound/pci/hda/patch_realtek.c
[ALSA] hda-codec - Fix breakage of resume in auto-config of realtek codecs
[mv-sheeva.git] / sound / pci / hda / patch_realtek.c
index 6c605813fc6e4b5cf67a16da8d1d8b1a679a7fff..355d88d07ea26fa49545cd3a2c2ff2e007a9756c 100644 (file)
@@ -3489,7 +3489,8 @@ static void alc_set_pin_output(struct hda_codec *codec, hda_nid_t nid,
        snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
                            pin_type);
        /* unmute pin */
-       snd_hda_codec_amp_stereo(codec, nid, HDA_OUTPUT, 0, 0xff, 0x00);
+       snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_AMP_GAIN_MUTE,
+                           AMP_OUT_UNMUTE);
 }
 
 static void alc880_auto_set_output_and_unmute(struct hda_codec *codec,