Commit 68a6abd9 authored by Tobin Davis's avatar Tobin Davis Committed by Jaroslav Kysela

[ALSA] hda-codec - Fix headphone output for some Intel 945 systems

This patch enables headphone output at initialization for Intel
945 based systems that don't have proper detection circuitry.
Signed-off-by: default avatarTobin Davis <tobinx.b.davis@intel.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent 2aaeee8b
...@@ -1143,6 +1143,8 @@ static int stac92xx_init(struct hda_codec *codec) ...@@ -1143,6 +1143,8 @@ static int stac92xx_init(struct hda_codec *codec)
STAC_UNSOL_ENABLE); STAC_UNSOL_ENABLE);
/* fake event to set up pins */ /* fake event to set up pins */
codec->patch_ops.unsol_event(codec, STAC_HP_EVENT << 26); codec->patch_ops.unsol_event(codec, STAC_HP_EVENT << 26);
/* enable the headphones by default. If/when unsol_event detection works, this will be ignored */
stac92xx_auto_init_hp_out(codec);
} else { } else {
stac92xx_auto_init_multi_out(codec); stac92xx_auto_init_multi_out(codec);
stac92xx_auto_init_hp_out(codec); stac92xx_auto_init_hp_out(codec);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment