Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133107
b: refs/heads/master
c: ee58a7c
h: refs/heads/master
i:
  133105: bd63e1c
  133103: f67dcee
v: v3
  • Loading branch information
Takashi Iwai committed Mar 6, 2009
1 parent ed3d4f6 commit 6c8ab65
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 668b9652be33510a2a42b290dd335d34d38e2068
refs/heads/master: ee58a7ca21b2acf0d7ad0e1eb2f8d916ecf9fadc
10 changes: 10 additions & 0 deletions trunk/sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -2871,6 +2871,16 @@ static hda_nid_t get_unassigned_dac(struct hda_codec *codec, hda_nid_t nid)
return conn[j];
}
}
/* if all DACs are already assigned, connect to the primary DAC */
if (conn_len > 1) {
for (j = 0; j < conn_len; j++) {
if (conn[j] == spec->multiout.dac_nids[0]) {
snd_hda_codec_write_cache(codec, nid, 0,
AC_VERB_SET_CONNECT_SEL, j);
break;
}
}
}
return 0;
}

Expand Down

0 comments on commit 6c8ab65

Please sign in to comment.