Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353081
b: refs/heads/master
c: 1e0b528
h: refs/heads/master
i:
  353079: 102697a
v: v3
  • Loading branch information
Takashi Iwai committed Jan 12, 2013
1 parent 16ad724 commit 755e39b
Show file tree
Hide file tree
Showing 2 changed files with 8 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: e1284af730792344f96e1428a6199e19699dfccc
refs/heads/master: 1e0b528696edf20ad38f494dda49c6195bee1b7f
9 changes: 7 additions & 2 deletions trunk/sound/pci/hda/hda_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -833,8 +833,13 @@ static int try_assign_dacs(struct hda_codec *codec, int num_outs,
for (i = 0; i < num_outs; i++) {
struct nid_path *path;
hda_nid_t pin = pins[i];
if (!dacs[i])
dacs[i] = look_for_dac(codec, pin, false);

if (dacs[i]) {
badness += assign_out_path_ctls(codec, pin, dacs[i]);
continue;
}

dacs[i] = look_for_dac(codec, pin, false);
if (!dacs[i] && !i) {
for (j = 1; j < num_outs; j++) {
if (is_reachable_path(codec, dacs[j], pin)) {
Expand Down

0 comments on commit 755e39b

Please sign in to comment.