Skip to content

Commit

Permalink
[ALSA] hda-codec - Fix headphone output for some Intel 945 systems
Browse files Browse the repository at this point in the history
This patch enables headphone output at initialization for Intel
945 based systems that don't have proper detection circuitry.

Signed-off-by: Tobin Davis <tobinx.b.davis@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
  • Loading branch information
Tobin Davis authored and Jaroslav Kysela committed Sep 23, 2006
1 parent 2aaeee8 commit 68a6abd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,8 @@ static int stac92xx_init(struct hda_codec *codec)
STAC_UNSOL_ENABLE);
/* fake event to set up pins */
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 {
stac92xx_auto_init_multi_out(codec);
stac92xx_auto_init_hp_out(codec);
Expand Down

0 comments on commit 68a6abd

Please sign in to comment.