From a29ffcf413dd6bcca984ad51b9f2c1ef1d64813f Mon Sep 17 00:00:00 2001 From: David Henningsson Date: Fri, 18 Jan 2013 15:43:02 +0100 Subject: [PATCH] --- yaml --- r: 353183 b: refs/heads/master c: 8e8db7f123dcc4d56464fc584667c8f9ae9f4aef h: refs/heads/master i: 353181: 17bec5f3990b2dd3aa1a42548039f83dd26e8682 353179: db931fd1b9d817d29a3a5ff6179c93804887501c 353175: 979fa7600fc072e2805874eb74d34484fa9eb1cb 353167: 7a4b2989a3701bafb6bb6e3364134e826ba9776a 353151: b4862814e833df5976a95ae68eb227506c26f827 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/hda_generic.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index b0e155f917b3..a86853762537 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d3d982f7447ba9f5cbb57c1a525c3b61bfcffc37 +refs/heads/master: 8e8db7f123dcc4d56464fc584667c8f9ae9f4aef diff --git a/trunk/sound/pci/hda/hda_generic.c b/trunk/sound/pci/hda/hda_generic.c index 10b14a925ddb..e4e71fa8d87c 100644 --- a/trunk/sound/pci/hda/hda_generic.c +++ b/trunk/sound/pci/hda/hda_generic.c @@ -2558,7 +2558,7 @@ static int fill_input_pin_labels(struct hda_codec *codec) label = hda_get_autocfg_input_label(codec, cfg, i); idx = 0; - for (j = i; j >= 0; j--) { + for (j = i - 1; j >= 0; j--) { if (spec->input_labels[j] && !strcmp(spec->input_labels[j], label)) { idx = spec->input_label_idxs[j] + 1;