ASoC: rsnd: don't use rsnd_mod_to_io() on snd_kcontrol
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 15 Jun 2015 06:27:28 +0000 (06:27 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 16 Jun 2015 11:34:04 +0000 (12:34 +0100)
commitb65a7cccb58ce5acfed579e1ca10f8a4d3d0dd04
tree907a223c2d99a8f4bd88d8df8b8b6ccfb9712ea4
parent88c61cff4dab7c23a101b12041c99da61df305dd
ASoC: rsnd: don't use rsnd_mod_to_io() on snd_kcontrol

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 snd_kcontrol
and 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