ASoC: rcar: add rsnd_scu_hpbif_is_enable()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 18 Oct 2013 05:50:59 +0000 (22:50 -0700)
committerMark Brown <broonie@linaro.org>
Sun, 20 Oct 2013 16:28:37 +0000 (17:28 +0100)
commitcdcfcac968a1ec648434892b6addd80e66a5a892
treefbe99d504bcf2b169c62674523a14aabbb54a2be
parent2192f81c53a7879c803f0f7d6c49645fdf6c2f6a
ASoC: rcar: add rsnd_scu_hpbif_is_enable()

Current SSI needs RSND_SSI_DEPENDENT flag to
decide dependent/independent mode.
And SCU needs RSND_SCU_USE_HPBIF flag
to decide HPBIF is enable/disable.
But these 2 means same things.

This patch adds new rsnd_scu_hpbif_is_enable()
function, and merges above methods.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/rcar_snd.h
sound/soc/sh/rcar/rsnd.h
sound/soc/sh/rcar/scu.c
sound/soc/sh/rcar/ssi.c