Commit 564c5bead424fa798dfbd5fe382b4e0b7ea483fb
Committed by
Takashi Iwai
1 parent
20686c2437
Exists in
master
and in
7 other branches
[ALSA] Revert migration to alc_set_pin_output() in alc861_auto_set_output_and_unmute()
Change done by: commit f6c7e5461e9046445d50c5c7a9a4587824239623 [ALSA] hda-codec - Fix auto-configuration of Realtek codecs broke sound on ALC861 Analog. Signed-off-by: Jacek Luczak <luczak.jacek@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Showing 1 changed file with 4 additions and 1 deletions Side-by-side Diff
sound/pci/hda/patch_realtek.c
... | ... | @@ -11902,7 +11902,10 @@ |
11902 | 11902 | hda_nid_t nid, |
11903 | 11903 | int pin_type, int dac_idx) |
11904 | 11904 | { |
11905 | - alc_set_pin_output(codec, nid, pin_type); | |
11905 | + snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, | |
11906 | + pin_type); | |
11907 | + snd_hda_codec_write(codec, dac_idx, 0, AC_VERB_SET_AMP_GAIN_MUTE, | |
11908 | + AMP_OUT_UNMUTE); | |
11906 | 11909 | } |
11907 | 11910 | |
11908 | 11911 | static void alc861_auto_init_multi_out(struct hda_codec *codec) |