]> err.no Git - linux-2.6/commitdiff
[ALSA] hda-codec - Fix headphone output for some Intel 945 systems
authorTobin Davis <tobinx.b.davis@intel.com>
Mon, 21 Aug 2006 17:02:10 +0000 (19:02 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:41:51 +0000 (10:41 +0200)
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>
sound/pci/hda/patch_sigmatel.c

index 887b52e96ec43c30f910d724ab05b24c16023119..d709389c4f615bd06f1ea40b53f3e38ed60ca695 100644 (file)
@@ -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);