From d7671055a1fb35f13504a41f6b8dd2e93e47cef8 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 4 Jan 2013 15:41:41 +0100 Subject: [PATCH] --- yaml --- r: 353087 b: refs/heads/master c: 117688a9c1023af9241810544b35c7104fbbcfc2 h: refs/heads/master i: 353085: 428280dfd870e79ce885ef60b4e8821dcf1cc2f0 353083: 99361a7299a0c2022ae4c46b34e1aa631010dc91 353079: 102697a9cad129bcb9ff5bc1217b98495d160031 353071: c6625614150f81810af2db829d5a17044da2e965 353055: 2e4087d9001b4f1922337516b9d01302f5fa45f0 353023: c7fb17ee1e095d3b3d341fa1002924c14876e6b1 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/hda_generic.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 856c3738390f..53a41569ed15 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2430d7b78ba161656a621279964421aa06e04b02 +refs/heads/master: 117688a9c1023af9241810544b35c7104fbbcfc2 diff --git a/trunk/sound/pci/hda/hda_generic.c b/trunk/sound/pci/hda/hda_generic.c index 4e49c5e27704..e7574a863d21 100644 --- a/trunk/sound/pci/hda/hda_generic.c +++ b/trunk/sound/pci/hda/hda_generic.c @@ -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); } @@ -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;