From ca867a28b61c9a054e1032ee1ae3037dfe60ebbb Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 23 May 2011 20:07:15 +0200 Subject: [PATCH] --- yaml --- r: 252101 b: refs/heads/master c: 506a4196d44218eca20db529c84410dc1095e457 h: refs/heads/master i: 252099: 537504142d9b1a363a83487a96dc7213efcfe70b v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_conexant.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index f33f2727660f..5cb41a14e246 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d2859fd49200f1f3efd8acdb54b6d51d3ab82302 +refs/heads/master: 506a4196d44218eca20db529c84410dc1095e457 diff --git a/trunk/sound/pci/hda/patch_conexant.c b/trunk/sound/pci/hda/patch_conexant.c index e8725d24bd05..cd1a93ae2170 100644 --- a/trunk/sound/pci/hda/patch_conexant.c +++ b/trunk/sound/pci/hda/patch_conexant.c @@ -3790,7 +3790,7 @@ static void cx_auto_check_auto_mic(struct hda_codec *codec) int pset[INPUT_PIN_ATTR_NORMAL + 1]; int i; - for (i = 0; i < INPUT_PIN_ATTR_NORMAL; i++) + for (i = 0; i < ARRAY_SIZE(pset); i++) pset[i] = -1; for (i = 0; i < spec->private_imux.num_items; i++) { hda_nid_t pin = spec->imux_info[i].pin;