summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/rcar/core.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-07-21 21:36:46 -0700
committerMark Brown <broonie@linaro.org>2013-07-28 19:34:09 +0100
commitdfc9403b7c1f566bb099a12c58aee20589e390f1 (patch)
treecc868032b3a32cdefeded82cd13ad0d61cfb93c1 /sound/soc/sh/rcar/core.c
parent07539c1de82cdc0ecbe72b413762b2e920407227 (diff)
downloadop-kernel-dev-dfc9403b7c1f566bb099a12c58aee20589e390f1.zip
op-kernel-dev-dfc9403b7c1f566bb099a12c58aee20589e390f1.tar.gz
ASoC: add Renesas R-Car ADG feature
Renesas R-Car series sound circuit consists of SSI and its peripheral. But this peripheral circuit is different between R-Car Generation1 (E1/M1/H1) and Generation2 (E2/M2/H2) (Actually, there are many difference in Generation1 chips) This patch adds ADG feature which controls sound clock Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/sh/rcar/core.c')
-rw-r--r--sound/soc/sh/rcar/core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c
index 02d736b..e588d8a 100644
--- a/sound/soc/sh/rcar/core.c
+++ b/sound/soc/sh/rcar/core.c
@@ -635,6 +635,10 @@ static int rsnd_probe(struct platform_device *pdev)
if (ret < 0)
return ret;
+ ret = rsnd_adg_probe(pdev, info, priv);
+ if (ret < 0)
+ return ret;
+
/*
* asoc register
*/
@@ -673,6 +677,7 @@ static int rsnd_remove(struct platform_device *pdev)
/*
* remove each module
*/
+ rsnd_adg_remove(pdev, priv);
rsnd_scu_remove(pdev, priv);
rsnd_dai_remove(pdev, priv);
rsnd_gen_remove(pdev, priv);
OpenPOWER on IntegriCloud