Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257744
b: refs/heads/master
c: a926757
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Jul 7, 2011
1 parent bd2f9ee commit 9e7346e
Show file tree
Hide file tree
Showing 2 changed files with 4 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: c2d986b0d21e53453de8751ecbb317148820d065
refs/heads/master: a926757f0431042b32ef4188ce8201cbe0fcbb50
4 changes: 3 additions & 1 deletion trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -2080,11 +2080,13 @@ static void alc_auto_parse_digital(struct hda_codec *codec)

/* support multiple SPDIFs; the secondary is set up as a slave */
for (i = 0; i < spec->autocfg.dig_outs; i++) {
hda_nid_t conn[4];
err = snd_hda_get_connections(codec,
spec->autocfg.dig_out_pins[i],
&dig_nid, 1);
conn, ARRAY_SIZE(conn));
if (err < 0)
continue;
dig_nid = conn[0]; /* assume the first element is audio-out */
if (!i) {
spec->multiout.dig_out_nid = dig_nid;
spec->dig_out_type = spec->autocfg.dig_out_type[0];
Expand Down

0 comments on commit 9e7346e

Please sign in to comment.