From 2d380003e24b803080b43f27d97ce514166d8bf8 Mon Sep 17 00:00:00 2001 From: Anuj Aggarwal Date: Fri, 27 Nov 2009 17:40:58 +0530 Subject: [PATCH] --- yaml --- r: 168877 b: refs/heads/master c: e9ff5eb2ae018fe2298c68746c873bf828c6b10e h: refs/heads/master i: 168875: 9b90bb7007dabf7f552830a8ff125241ec21eb06 v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/tlv320aic23.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 4bb0ba8475f9..dca5bc8afb68 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 50b6bce59d154b5db137907a5c0ed45a4e7a3829 +refs/heads/master: e9ff5eb2ae018fe2298c68746c873bf828c6b10e diff --git a/trunk/sound/soc/codecs/tlv320aic23.c b/trunk/sound/soc/codecs/tlv320aic23.c index 6b24d8bb02bb..90a0264f7538 100644 --- a/trunk/sound/soc/codecs/tlv320aic23.c +++ b/trunk/sound/soc/codecs/tlv320aic23.c @@ -625,11 +625,10 @@ static int tlv320aic23_resume(struct platform_device *pdev) { struct snd_soc_device *socdev = platform_get_drvdata(pdev); struct snd_soc_codec *codec = socdev->card->codec; - int i; u16 reg; /* Sync reg_cache with the hardware */ - for (reg = 0; reg < ARRAY_SIZE(tlv320aic23_reg); i++) { + for (reg = 0; reg < TLV320AIC23_RESET; reg++) { u16 val = tlv320aic23_read_reg_cache(codec, reg); tlv320aic23_write(codec, reg, val); }