[alsa-devel] [PATCH 1/9] ASoC: arizona: An OUTDIV of 1 is not valid, avoid this
Charles Keepax
ckeepax at opensource.wolfsonmicro.com
Fri Mar 7 17:34:17 CET 2014
One is not a valid value for the OUTDIV start searching at 2 instead.
Signed-off-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>
---
sound/soc/codecs/arizona.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index a32b84a..e4c1c9e 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -1415,7 +1415,7 @@ static int arizona_calc_fll(struct arizona_fll *fll,
Fref /= div;
/* Fvco should be over the targt; don't check the upper bound */
- div = 1;
+ div = 2;
while (Fout * div < 90000000 * fll->vco_mult) {
div++;
if (div > 7) {
--
1.7.2.5
More information about the Alsa-devel
mailing list