projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fab800c
)
ASoC: arizona: An OUTDIV of 1 is not valid, avoid this
author
Charles Keepax
<ckeepax@opensource.wolfsonmicro.com>
Fri, 7 Mar 2014 16:34:17 +0000
(16:34 +0000)
committer
Mark Brown
<broonie@linaro.org>
Sun, 9 Mar 2014 08:28:06 +0000
(08:28 +0000)
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>
sound/soc/codecs/arizona.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/arizona.c
b/sound/soc/codecs/arizona.c
index e4295fee8f13673f15f9811a9516ba84bb548584..d90804686e4efcc8dce9ff657beec81843a97ec9 100644
(file)
--- 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,
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) {