Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5358
b: refs/heads/master
c: fb92e6f
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Graziano authored and Jaroslav Kysela committed Jul 28, 2005
1 parent 9bbbef3 commit 80349c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 5a0f217d96656068f0f1e5cda16c35945f979b16
refs/heads/master: fb92e6f05e84f6c217d786208e2ed5acf633b6ce
5 changes: 2 additions & 3 deletions trunk/sound/pci/hda/patch_cmedia.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ static int cmi9880_fill_multi_dac_nids(struct hda_codec *codec, const struct aut
/* search for an empty channel */
for (j = 0; j < cfg->line_outs; j++) {
if (! assigned[j]) {
spec->dac_nids[i] = i + 0x03;
spec->dac_nids[i] = j + 0x03;
assigned[j] = 1;
break;
}
Expand Down Expand Up @@ -444,11 +444,10 @@ static int cmi9880_fill_multi_init(struct hda_codec *codec, const struct auto_pi
len = snd_hda_get_connections(codec, nid, conn, 4);
for (k = 0; k < len; k++)
if (conn[k] == spec->dac_nids[i]) {
spec->multi_init[j].param = j;
spec->multi_init[j].param = k;
break;
}
j++;
break;
}
}
return 0;
Expand Down

0 comments on commit 80349c3

Please sign in to comment.