summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm5102.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-10 18:03:46 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-10 18:17:35 +0200
commit2b4d39fc2a80e271ac8d44fccd02277a4b63c557 (patch)
tree9d4638752ae0466653fdec8015bde4128180b2cd /sound/soc/codecs/wm5102.c
parentASoC: tlv320aic3x: add input clock selection (diff)
downloadlinux-2b4d39fc2a80e271ac8d44fccd02277a4b63c557.tar.xz
linux-2b4d39fc2a80e271ac8d44fccd02277a4b63c557.zip
ASoC: arizona: Support variable FLL VCO multipliers
Some Arizona chips have a higher frequency for the FLL VCO, support this in the common code. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to '')
-rw-r--r--sound/soc/codecs/wm5102.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm5102.c b/sound/soc/codecs/wm5102.c
index 7a6a11a323ff..6537f16d383e 100644
--- a/sound/soc/codecs/wm5102.c
+++ b/sound/soc/codecs/wm5102.c
@@ -853,6 +853,9 @@ static int __devinit wm5102_probe(struct platform_device *pdev)
wm5102->core.arizona = arizona;
+ for (i = 0; i < ARRAY_SIZE(wm5102->fll); i++)
+ wm5102->fll[i].vco_mult = 1;
+
arizona_init_fll(arizona, 1, ARIZONA_FLL1_CONTROL_1 - 1,
ARIZONA_IRQ_FLL1_LOCK, ARIZONA_IRQ_FLL1_CLOCK_OK,
&wm5102->fll[0]);