Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19579
b: refs/heads/master
c: ad0651f
h: refs/heads/master
i:
  19577: 94b2a97
  19575: e2d0ae0
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Feb 1, 2006
1 parent c290a37 commit f1e9ccf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: 802c00f2f3700423df06a1149c23cd60dd59159c
refs/heads/master: ad0651f97a3f8c5982921cb57fbedc877279e03d
8 changes: 7 additions & 1 deletion trunk/sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,13 @@ static int stac92xx_auto_fill_dac_nids(struct hda_codec *codec, const struct aut
AC_VERB_GET_CONNECT_LIST, 0) & 0xff;
}

spec->multiout.num_dacs = cfg->line_outs;
if (cfg->line_outs)
spec->multiout.num_dacs = cfg->line_outs;
else if (cfg->hp_pin) {
spec->multiout.dac_nids[0] = snd_hda_codec_read(codec, cfg->hp_pin, 0,
AC_VERB_GET_CONNECT_LIST, 0) & 0xff;
spec->multiout.num_dacs = 1;
}

return 0;
}
Expand Down

0 comments on commit f1e9ccf

Please sign in to comment.