ASoC: rsnd: move rsnd_mod_is_working() to rsnd_io_is_working()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 15 Jun 2015 06:27:47 +0000 (06:27 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 16 Jun 2015 11:34:04 +0000 (12:34 +0100)
commitd5bbe7de563ccce62765f1183561218b6dbdbe1e
treeb6612b2eda4b14c879d43d15fb0bf0a86cad60fe
parentb65a7cccb58ce5acfed579e1ca10f8a4d3d0dd04
ASoC: rsnd: move rsnd_mod_is_working() to rsnd_io_is_working()

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 checks module working status via io instead of mod

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/dma.c
sound/soc/sh/rcar/rsnd.h
sound/soc/sh/rcar/src.c
sound/soc/sh/rcar/ssi.c