diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-01-15 08:06:49 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-15 11:37:48 +0000 |
commit | 985a4f6e61560c4cba19d910a0d81757a1063571 (patch) | |
tree | 22841fde3d2b65a24390b47db8bb75d22b9faa7d /sound/soc/sh/rcar/src.c | |
parent | 54cb556247b171753484efb3c4777ca4d1babfa0 (diff) | |
download | op-kernel-dev-985a4f6e61560c4cba19d910a0d81757a1063571.zip op-kernel-dev-985a4f6e61560c4cba19d910a0d81757a1063571.tar.gz |
ASoC: rsnd: replace rsnd_dai_is_play() to rsnd_io_is_play()
Current rsnd driver can use rsnd_io_to_rdai()
we can get play/capture direction via io now.
Let's replace rsnd_dai_is_play() to rsnd_io_is_play()
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/src.c')
-rw-r--r-- | sound/soc/sh/rcar/src.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/sh/rcar/src.c index cb2dbf3..d4f9ccc 100644 --- a/sound/soc/sh/rcar/src.c +++ b/sound/soc/sh/rcar/src.c @@ -362,7 +362,7 @@ static int rsnd_src_set_route_gen1(struct rsnd_mod *mod, /* * SRC_ROUTE_SELECT */ - val = rsnd_dai_is_play(rdai, io) ? 0x1 : 0x2; + val = rsnd_io_is_play(io) ? 0x1 : 0x2; val = val << routes[id].shift; mask = routes[id].mask << routes[id].shift; |