From 5b9e518c1685d068b5bcdd99b44698be4cdd3ef6 Mon Sep 17 00:00:00 2001 From: Jarkko Nikula Date: Fri, 20 May 2011 16:52:37 +0300 Subject: [PATCH] --- yaml --- r: 254791 b: refs/heads/master c: 508b76864c18f34f8d6ba08d192f5817f8dc8ead h: refs/heads/master i: 254789: 2be43102f54abf4851b012991853c5b76c00d646 254787: e6b63525825f036c686febc5db0b726a53d14070 254783: 6a7a47a41588ab4b88c8093de55844826fd5e4a7 v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/tlv320aic3x.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index cd86a3e3d655..60b1823aa6e1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2aba76f014a7b56ab4fe75845c5fd57b5590acc2 +refs/heads/master: 508b76864c18f34f8d6ba08d192f5817f8dc8ead diff --git a/trunk/sound/soc/codecs/tlv320aic3x.c b/trunk/sound/soc/codecs/tlv320aic3x.c index c3d96fc8c267..9047bb173c6b 100644 --- a/trunk/sound/soc/codecs/tlv320aic3x.c +++ b/trunk/sound/soc/codecs/tlv320aic3x.c @@ -1114,7 +1114,7 @@ static int aic3x_set_power(struct snd_soc_codec *codec, int power) /* Sync reg_cache with the hardware */ codec->cache_only = 0; - for (i = 0; i < ARRAY_SIZE(aic3x_reg); i++) + for (i = AIC3X_SAMPLE_RATE_SEL_REG; i < ARRAY_SIZE(aic3x_reg); i++) snd_soc_write(codec, i, cache[i]); if (aic3x->model == AIC3X_MODEL_3007) aic3x_init_3007(codec);