[ALSA] hda: fix STAC927x power management
[sfrench/cifs-2.6.git] / sound / pci / hda / patch_sigmatel.c
index 132d1e3eafa595458673a4a0a061ec1c9e7aa9ed..a31155d41405afdda82e2bd70067681f45516914 100644 (file)
@@ -2893,7 +2893,8 @@ static void stac92xx_power_down(struct hda_codec *codec)
        /* power down inactive DACs */
        hda_nid_t *dac;
        for (dac = spec->dac_list; *dac; dac++)
-               if (!is_in_dac_nids(spec, *dac))
+               if (!is_in_dac_nids(spec, *dac) &&
+                       spec->multiout.hp_nid != *dac)
                        snd_hda_codec_write_cache(codec, *dac, 0,
                                        AC_VERB_SET_POWER_STATE, AC_PWRST_D3);
 }