ASoC: rsnd: add struct rsnd_dai_platform_info
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 4 Mar 2014 04:49:50 +0000 (20:49 -0800)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:21:18 +0000 (09:21 +0900)
commit3d3cd9284c7d7faa43bcc3cb1e6f990a632f261d
tree320cef1dff1ce100a0e7591d85bba8f6e9d3d61d
parentc8d43ae88825035f5e89445f4809ea312817551b
ASoC: rsnd: add struct rsnd_dai_platform_info

R-Car sound DAI consists from SSI/SCU/SSIU/SRU...
Current R-Car sound DAI is decided from these settings,
but it is intuitively unclear, and is not good design for DT support.
This patch adds new rsnd_dai_platform_info to solve this issue.

But now, many platform is using this driver without
rsnd_dai_platform_info.
So, this patch still supports DAI settings via SSI to keep compatible.
It will be removed in next Linux version.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 78f13d0c5a2888564b2bed7f8433c8ec889997ff)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
include/sound/rcar_snd.h
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/ssi.c