Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111057
b: refs/heads/master
c: fedb756
h: refs/heads/master
i:
  111055: 5a710f6
v: v3
  • Loading branch information
Matthew Ranostay authored and Jaroslav Kysela committed Oct 10, 2008
1 parent 0c5e191 commit 133cf11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: cdad5b8db91ac46a8e226306d062fe4c896b2bed
refs/heads/master: fedb7569100ac858bea7954d82c74e5561bf2c03
6 changes: 4 additions & 2 deletions trunk/sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -2817,6 +2817,10 @@ static int stac92xx_auto_create_multi_out_ctls(struct hda_codec *codec,
}
}

if ((spec->multiout.num_dacs - cfg->line_outs) > 0 &&
cfg->hp_outs && !spec->multiout.hp_nid)
spec->multiout.hp_nid = nid;

if (cfg->hp_outs > 1) {
err = stac92xx_add_control(spec,
STAC_CTL_WIDGET_HP_SWITCH,
Expand Down Expand Up @@ -4083,8 +4087,6 @@ static int patch_stac92hd73xx(struct hda_codec *codec)
case STAC_DELL_M6:
spec->init = dell_eq_core_init;
spec->num_smuxes = 0;
spec->multiout.hp_nid =
spec->multiout.dac_nids[spec->multiout.num_dacs - 1];
spec->mixer = &stac92hd73xx_6ch_mixer[DELL_M6_MIXER];
spec->amp_nids = &stac92hd73xx_amp_nids[DELL_M6_AMP];
spec->num_amps = 1;
Expand Down

0 comments on commit 133cf11

Please sign in to comment.