summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-10-11 09:07:01 +0200
committerMark Brown <broonie@linaro.org>2013-10-11 20:52:32 +0200
commitc5d5a58d7ff977289c4bba8eae447c9afa66516b (patch)
treef943ae462c5b5df525b7cba278010be4652f5ca3 /include
parentLinux 3.12-rc4 (diff)
downloadlinux-c5d5a58d7ff977289c4bba8eae447c9afa66516b.tar.xz
linux-c5d5a58d7ff977289c4bba8eae447c9afa66516b.zip
ASoC: rcar: fixup generation checker
Current rcar is using rsnd_is_gen1/gen2() to checking its IP generation, but it needs data mask. This patch fixes it up. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@linaro.org>
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 fe66533e9b7a..fb0a312bcb81 100644
--- a/include/sound/rcar_snd.h
+++ b/include/sound/rcar_snd.h
@@ -68,6 +68,7 @@ struct rsnd_scu_platform_info {
*
* A : generation
*/
+#define RSND_GEN_MASK (0xF << 0)
#define RSND_GEN1 (1 << 0) /* fixme */
#define RSND_GEN2 (2 << 0) /* fixme */