summaryrefslogtreecommitdiff
path: root/sound/soc/sh/rcar/ssiu.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2015-12-17 05:56:50 +0300
committerMark Brown <broonie@kernel.org>2015-12-18 15:10:56 +0300
commit49ee73b441f5734c3da254c60e134f343b89911a (patch)
treea3a1aad83daa9a568725bdff62c913dcd2b4f665 /sound/soc/sh/rcar/ssiu.c
parent52dc68524327ed7bedfc2856bca4fa634f11141a (diff)
downloadlinux-49ee73b441f5734c3da254c60e134f343b89911a.tar.xz
ASoC: rsnd: SSI/SSIU use rsnd_get_slot_extend() to check TDM
Current SSI/SSIU are using rsnd_get_slot_runtime() to check TDM, but using rsnd_get_slot_extend() is more sane. This patch fix it up Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/ssiu.c')
-rw-r--r--sound/soc/sh/rcar/ssiu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sh/rcar/ssiu.c b/sound/soc/sh/rcar/ssiu.c
index 326550114299..c7f89beff44f 100644
--- a/sound/soc/sh/rcar/ssiu.c
+++ b/sound/soc/sh/rcar/ssiu.c
@@ -78,7 +78,7 @@ static int rsnd_ssiu_init_gen2(struct rsnd_mod *mod,
if (ret < 0)
return ret;
- if (rsnd_get_slot_runtime(io) >= 6) {
+ if (rsnd_get_slot_extend(io) >= 6) {
/*
* TDM Extend Mode
* see