]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: rsnd: add rsnd_kctrl_xxx() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 11 Oct 2017 04:42:34 +0000 (04:42 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 11 Oct 2017 08:46:17 +0000 (09:46 +0100)
commit3a9fa27be507b19107a8b3fe03a67e8145aea88c
treeb962e32339d0a5c27e359301d583e5bb4da95a04
parent3e3c9ee1e4b3d0ef1f68f2037752196e7260bad9
ASoC: rsnd: add rsnd_kctrl_xxx() macro

Current CTU/MIX/DVC are directly using rsnd_kctrl_cfg_m/s to control
val etc, but it is difficult to read/understand.
And there was no uniformity in access method.
This patch adds new rsnd_kctrl_xxx() and implements uniformed access
method.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ctu.c
sound/soc/sh/rcar/dvc.c
sound/soc/sh/rcar/mix.c
sound/soc/sh/rcar/rsnd.h