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:57 -0700
committerMark Brown <broonie@linaro.org>2013-07-28 19:34:09 +0100
commitae5c322303fff50b93d60e34c6563f1264a5941b (patch)
treeec37f50997c26bd8601502a640060fa66694ab61 /sound/soc/sh/rcar/core.c
parentdfc9403b7c1f566bb099a12c58aee20589e390f1 (diff)
downloadop-kernel-dev-ae5c322303fff50b93d60e34c6563f1264a5941b.zip
op-kernel-dev-ae5c322303fff50b93d60e34c6563f1264a5941b.tar.gz
ASoC: add Renesas R-Car SSI 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) As 1st protype, this patch adds SSI feature on this driver. But, it is PIO sound playback support only at this point. The DMA transfer, and capture feature will be supported in the future 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 e588d8a..9a5469d 100644
--- a/sound/soc/sh/rcar/core.c
+++ b/sound/soc/sh/rcar/core.c
@@ -639,6 +639,10 @@ static int rsnd_probe(struct platform_device *pdev)
if (ret < 0)
return ret;
+ ret = rsnd_ssi_probe(pdev, info, priv);
+ if (ret < 0)
+ return ret;
+
/*
* asoc register
*/
@@ -677,6 +681,7 @@ static int rsnd_remove(struct platform_device *pdev)
/*
* remove each module
*/
+ rsnd_ssi_remove(pdev, priv);
rsnd_adg_remove(pdev, priv);
rsnd_scu_remove(pdev, priv);
rsnd_dai_remove(pdev, priv);
OpenPOWER on IntegriCloud