ASoC: rsnd: adds struct rsnd_dai_stream as on each fuction as parameter
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 15 Jun 2015 06:25:20 +0000 (06:25 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 16 Jun 2015 11:34:03 +0000 (12:34 +0100)
commit2c0fac19de2cd74181122f7e62f4ebffdd6f8fa3
tree43dbd0ea4b8cfdc4b5ddebe4c8b2b03299e06354
parent2099bc8eb0b257196a8535fba343cb23a8a6807c
ASoC: rsnd: adds struct rsnd_dai_stream as on each fuction as parameter

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 means we can't call rsnd_mod_to_io() any more.
This patch adds struct rsnd_dai_stream to each function as parameter.

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