diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_conexant.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index e8725d24bd05..cd1a93ae2170 100644 --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c | |||
@@ -3790,7 +3790,7 @@ static void cx_auto_check_auto_mic(struct hda_codec *codec) | |||
3790 | int pset[INPUT_PIN_ATTR_NORMAL + 1]; | 3790 | int pset[INPUT_PIN_ATTR_NORMAL + 1]; |
3791 | int i; | 3791 | int i; |
3792 | 3792 | ||
3793 | for (i = 0; i < INPUT_PIN_ATTR_NORMAL; i++) | 3793 | for (i = 0; i < ARRAY_SIZE(pset); i++) |
3794 | pset[i] = -1; | 3794 | pset[i] = -1; |
3795 | for (i = 0; i < spec->private_imux.num_items; i++) { | 3795 | for (i = 0; i < spec->private_imux.num_items; i++) { |
3796 | hda_nid_t pin = spec->imux_info[i].pin; | 3796 | hda_nid_t pin = spec->imux_info[i].pin; |