summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm5102.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-04 18:32:05 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-04 20:15:45 +0200
commit5b2eec3f98e08a8442ada41c4a63658b95a355f2 (patch)
tree50ab53b1ab5496a232c753095cee31d51dc4465a /sound/soc/codecs/wm5102.c
parentASoC: arizona: Rename current rates tables to bclk_rates (diff)
downloadlinux-5b2eec3f98e08a8442ada41c4a63658b95a355f2.tar.xz
linux-5b2eec3f98e08a8442ada41c4a63658b95a355f2.zip
ASoC: arizona: Implement AIF clock configuration
Allow the user to select which of the system clocks each AIF is referenced to and constran the DAI to the set of frequencies which can be generated from that clock. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm5102.c')
-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 e76c41e1f847..be74a78e1aea 100644
--- a/sound/soc/codecs/wm5102.c
+++ b/sound/soc/codecs/wm5102.c
@@ -832,6 +832,9 @@ static int __devinit wm5102_probe(struct platform_device *pdev)
ARIZONA_IRQ_FLL2_LOCK, ARIZONA_IRQ_FLL2_CLOCK_OK,
&wm5102->fll[1]);
+ for (i = 0; i < ARRAY_SIZE(wm5102_dai); i++)
+ arizona_init_dai(&wm5102->core, i);
+
/* Latch volume update bits */
for (i = 0; i < ARRAY_SIZE(wm5102_digital_vu); i++)
regmap_update_bits(arizona->regmap, wm5102_digital_vu[i],