aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2014-03-07 11:34:17 -0500
committerMark Brown <broonie@linaro.org>2014-03-09 04:28:06 -0400
commitda28ed585b26dc6eb0c8d897a9b842a86dd6a659 (patch)
tree1466ef8487f5974d85086b2284c57b9bbaa693a2
parentfab800cc33e98378336faf75688ea0961eac21b6 (diff)
ASoC: arizona: An OUTDIV of 1 is not valid, avoid this
One is not a valid value for the OUTDIV start searching at 2 instead. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--sound/soc/codecs/arizona.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index e4295fee8f13..d90804686e4e 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -1406,7 +1406,7 @@ static int arizona_calc_fll(struct arizona_fll *fll,
1406 Fref /= div; 1406 Fref /= div;
1407 1407
1408 /* Fvco should be over the targt; don't check the upper bound */ 1408 /* Fvco should be over the targt; don't check the upper bound */
1409 div = 1; 1409 div = 2;
1410 while (Fout * div < 90000000 * fll->vco_mult) { 1410 while (Fout * div < 90000000 * fll->vco_mult) {
1411 div++; 1411 div++;
1412 if (div > 7) { 1412 if (div > 7) {