Skip to content

Commit

Permalink
[ALSA] Revert migration to alc_set_pin_output() in alc861_auto_set_ou…
Browse files Browse the repository at this point in the history
…tput_and_unmute()

Change done by:
        commit f6c7e54
        [ALSA] hda-codec - Fix auto-configuration of Realtek codecs
broke sound on ALC861 Analog.

Signed-off-by: Jacek Luczak <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
difrost authored and tiwai committed May 5, 2008
1 parent 20686c2 commit 564c5be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -11902,7 +11902,10 @@ static void alc861_auto_set_output_and_unmute(struct hda_codec *codec,
hda_nid_t nid,
int pin_type, int dac_idx)
{
alc_set_pin_output(codec, nid, pin_type);
snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
pin_type);
snd_hda_codec_write(codec, dac_idx, 0, AC_VERB_SET_AMP_GAIN_MUTE,
AMP_OUT_UNMUTE);
}

static void alc861_auto_init_multi_out(struct hda_codec *codec)
Expand Down

0 comments on commit 564c5be

Please sign in to comment.