Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353087
b: refs/heads/master
c: 117688a
h: refs/heads/master
i:
  353085: 428280d
  353083: 99361a7
  353079: 102697a
  353071: c662561
  353055: 2e4087d
  353023: c7fb17e
v: v3
  • Loading branch information
Takashi Iwai committed Jan 12, 2013
1 parent 09d67bd commit d767105
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 2430d7b78ba161656a621279964421aa06e04b02
refs/heads/master: 117688a9c1023af9241810544b35c7104fbbcfc2
4 changes: 2 additions & 2 deletions trunk/sound/pci/hda/hda_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ static int try_assign_dacs(struct hda_codec *codec, int num_outs,
badness += bad->no_dac;
}
path = snd_hda_add_new_path(codec, dac, pin, HDA_PARSE_NO_AAMIX);
if (!path && i > 0 && spec->mixer_nid) {
if (!path && !i && spec->mixer_nid) {
/* try with aamix */
path = snd_hda_add_new_path(codec, dac, pin, HDA_PARSE_ALL);
}
Expand Down Expand Up @@ -1102,7 +1102,7 @@ static bool map_singles(struct hda_codec *codec, int outs,
if (!dac)
continue;
path = snd_hda_add_new_path(codec, dac, pins[i], HDA_PARSE_NO_AAMIX);
if (!path && i > 0 && spec->mixer_nid)
if (!path && !i && spec->mixer_nid)
path = snd_hda_add_new_path(codec, dac, pins[i], HDA_PARSE_ALL);
if (path) {
dacs[i] = dac;
Expand Down

0 comments on commit d767105

Please sign in to comment.