diff options
author | Tobin Davis <tobinx.b.davis@intel.com> | 2006-08-21 13:02:10 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-09-23 04:41:51 -0400 |
commit | 68a6abd97f8b9aa072e36b1901531e7bb69b6efc (patch) | |
tree | b981b52f3d0359fcbf36e70ae2d7940f0c53adbf | |
parent | 2aaeee8bd1cf51b6ed7c751a8472cb77f3ddc642 (diff) |
[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: Tobin Davis <tobinx.b.davis@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 887b52e96ec..d709389c4f6 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -1143,6 +1143,8 @@ static int stac92xx_init(struct hda_codec *codec) | |||
1143 | STAC_UNSOL_ENABLE); | 1143 | STAC_UNSOL_ENABLE); |
1144 | /* fake event to set up pins */ | 1144 | /* fake event to set up pins */ |
1145 | codec->patch_ops.unsol_event(codec, STAC_HP_EVENT << 26); | 1145 | codec->patch_ops.unsol_event(codec, STAC_HP_EVENT << 26); |
1146 | /* enable the headphones by default. If/when unsol_event detection works, this will be ignored */ | ||
1147 | stac92xx_auto_init_hp_out(codec); | ||
1146 | } else { | 1148 | } else { |
1147 | stac92xx_auto_init_multi_out(codec); | 1149 | stac92xx_auto_init_multi_out(codec); |
1148 | stac92xx_auto_init_hp_out(codec); | 1150 | stac92xx_auto_init_hp_out(codec); |