summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tlv320aic23.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-01-31 14:41:05 +0100
committerTakashi Iwai <tiwai@suse.de>2010-01-31 14:41:05 +0100
commitf3f1e14ce993775b7373defeffb5ebd5844fcb98 (patch)
tree6c894bbb4a0dab2235770b6690898c44611bab35 /sound/soc/codecs/tlv320aic23.c
parentMerge branch 'fix/hda' into for-linus (diff)
parentASoC: AM3517: ASoC driver not getting compiled (diff)
downloadlinux-f3f1e14ce993775b7373defeffb5ebd5844fcb98.tar.xz
linux-f3f1e14ce993775b7373defeffb5ebd5844fcb98.zip
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'sound/soc/codecs/tlv320aic23.c')
-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 a9dc5fb54774..da589d8664d0 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);
}