Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353190
b: refs/heads/master
c: 1fa335b
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Jan 21, 2013
1 parent dce1bac commit 770016b
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 9314a5813f62e85c8173adf7fd7e088af3b58942
refs/heads/master: 1fa335b0b797811d66a5f88373edd523f947cce4
7 changes: 5 additions & 2 deletions trunk/sound/pci/hda/hda_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1105,14 +1105,17 @@ static int try_assign_dacs(struct hda_codec *codec, int num_outs,
else
badness += bad->no_dac;
}
if (!dac)
continue;
path = snd_hda_add_new_path(codec, dac, pin, -spec->mixer_nid);
if (!path && !i && spec->mixer_nid) {
/* try with aamix */
path = snd_hda_add_new_path(codec, dac, pin, 0);
}
if (!path)
if (!path) {
dac = dacs[i] = 0;
else {
badness += bad->no_dac;
} else {
/* print_nid_path("output", path); */
path->active = true;
path_idx[i] = snd_hda_get_path_idx(codec, path);
Expand Down

0 comments on commit 770016b

Please sign in to comment.