Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353220
b: refs/heads/master
c: f4f678d
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Jan 24, 2013
1 parent 9110982 commit 23717e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 55196fffc951059bb89f97ba53203acb9f87a6f1
refs/heads/master: f4f678d22219f5821f46bb78eb4da7f76f1899bc
11 changes: 3 additions & 8 deletions trunk/sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -3609,14 +3609,6 @@ static int stac_init(struct hda_codec *codec)
}
}

/* power down unused DACs */
for (i = 0; i < spec->gen.num_all_dacs; i++) {
if (!snd_hda_get_nid_path(codec, spec->gen.all_dacs[i], 0))
snd_hda_codec_write(codec, spec->gen.all_dacs[i], 0,
AC_VERB_SET_POWER_STATE,
AC_PWRST_D3);
}

return 0;
}

Expand Down Expand Up @@ -3871,6 +3863,7 @@ static int patch_stac92hd73xx(struct hda_codec *codec)
spec->pwr_nids = stac92hd73xx_pwr_nids;

spec->gen.own_eapd_ctl = 1;
spec->gen.power_down_unused = 1;

codec->patch_ops = stac_patch_ops;

Expand Down Expand Up @@ -3933,6 +3926,7 @@ static int patch_stac92hd83xxx(struct hda_codec *codec)
spec = codec->spec;
spec->linear_tone_beep = 0;
spec->gen.own_eapd_ctl = 1;
spec->gen.power_down_unused = 1;
spec->gen.mixer_nid = 0x1b;

spec->digbeep_nid = 0x21;
Expand Down Expand Up @@ -3976,6 +3970,7 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
spec = codec->spec;
spec->linear_tone_beep = 0;
spec->gen.own_eapd_ctl = 1;
spec->gen.power_down_unused = 1;
spec->gen.mixer_nid = 0x17;
spec->have_spdif_mux = 1;

Expand Down

0 comments on commit 23717e0

Please sign in to comment.