summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2014-03-03 20:50:00 -0800
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2015-02-04 11:13:08 +0100
commit64883b47039e179a5d583dafb94c6d6aad5e4876 (patch)
tree3d44d827d80919ca3e3e51f4f2cd76e2738baf2b /include
parentf408d9c70053f82deeaaa9f857e0cec6eca76cca (diff)
downloadlinux-stable-64883b47039e179a5d583dafb94c6d6aad5e4876.tar.gz
linux-stable-64883b47039e179a5d583dafb94c6d6aad5e4876.tar.bz2
linux-stable-64883b47039e179a5d583dafb94c6d6aad5e4876.zip
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> (cherry picked from commit 389933d9f6e55a1ef3a71549c36f6283b9f8c145) Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'include')
-rw-r--r--include/sound/rcar_snd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/rcar_snd.h b/include/sound/rcar_snd.h
index 698f7b5fc76d..1d8c68323f49 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 {