summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-01-29 14:31:06 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-01-29 14:31:06 +0000
commit660c63a4a289a835aa9af93a45884c5d0c004b20 (patch)
tree46f6ecc2a506002ef937fab16a9cfad845036e37 /sound/soc/codecs
parent640b796f2ca88113bf2fefd380bc807092ce6fa1 (diff)
parent5bbd4953a4fb5d8d597b4a53b8da97eee320b634 (diff)
Merge branch 'for-2.6.33' into for-2.6.34
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/tlv320aic23.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tlv320aic23.c b/sound/soc/codecs/tlv320aic23.c
index a9dc5fb5477..da589d8664d 100644
--- a/sound/soc/codecs/tlv320aic23.c
+++ b/sound/soc/codecs/tlv320aic23.c
@@ -627,7 +627,7 @@ static int tlv320aic23_resume(struct platform_device *pdev)
u16 reg;
/* Sync reg_cache with the hardware */
- for (reg = 0; reg < TLV320AIC23_RESET; reg++) {
+ for (reg = 0; reg <= TLV320AIC23_ACTIVE; reg++) {
u16 val = tlv320aic23_read_reg_cache(codec, reg);
tlv320aic23_write(codec, reg, val);
}