diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2014-03-03 20:50:00 -0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-05 14:07:52 +0800 |
commit | 389933d9f6e55a1ef3a71549c36f6283b9f8c145 (patch) | |
tree | 3e18c692e135d01620e6f225bdf36d9e2169de04 /include/sound | |
parent | 78f13d0c5a2888564b2bed7f8433c8ec889997ff (diff) | |
download | op-kernel-dev-389933d9f6e55a1ef3a71549c36f6283b9f8c145.zip op-kernel-dev-389933d9f6e55a1ef3a71549c36f6283b9f8c145.tar.gz |
ASoC: rsnd: Get correct SCU ID
Current rsnd driver is assuming that SCU/SRU ID is
same as SSIU/SSI ID, because Gen1 can't select it.
But, Gen2 can select it.
The SCU/SRU/SSIU/SSI pair depends on the platform.
This patch get correct SCU ID from platform info.
To keep compatible, it still assuming SCU ID = SSI ID
if platform doesn't have info
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/rcar_snd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/rcar_snd.h b/include/sound/rcar_snd.h index 698f7b5..1d8c683 100644 --- a/include/sound/rcar_snd.h +++ b/include/sound/rcar_snd.h @@ -70,6 +70,7 @@ struct rsnd_scu_platform_info { struct rsnd_dai_path_info { struct rsnd_ssi_platform_info *ssi; + struct rsnd_scu_platform_info *scu; }; struct rsnd_dai_platform_info { |