ASoC: rsnd: don't use rsnd_mod_to_io() on rsnd_get_adinr()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 15 Jun 2015 06:26:08 +0000 (06:26 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 16 Jun 2015 11:34:03 +0000 (12:34 +0100)
commit4e2639ff38d28dccdd8e7cf8f60181f0c17e10d3
tree692be55f7163f85193fe78ffd33270ce9838ac77
parentf501b7a4e7ceb76a5d24cc0f75403072af5e85a0
ASoC: rsnd: don't use rsnd_mod_to_io() on rsnd_get_adinr()

Each Renesas sound mod (= SSI/SRC/DVC) might be called from many paths
if it supports MIXer. In such case, mod <-> io is no longer 1:1
relationship. This patch removes rsnd_mod_to_io() from rsnd_get_adinr()
and its related function

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Keita Kobayashi <keita.kobayashi.ym@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/dvc.c
sound/soc/sh/rcar/rsnd.h
sound/soc/sh/rcar/src.c
sound/soc/sh/rcar/ssi.c