summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2015-09-10 07:03:08 +0000
committerMark Brown <broonie@kernel.org>2015-09-14 19:47:31 +0100
commitf1df12290722f998f5eb173ae30434d313aea54c (patch)
tree3f320642d581fc8ebf29a90b7dd560cb017204c6 /usr
parent1665a9e5e224a44798ea6ae16b507d48752eb4a1 (diff)
downloadop-kernel-dev-f1df12290722f998f5eb173ae30434d313aea54c.zip
op-kernel-dev-f1df12290722f998f5eb173ae30434d313aea54c.tar.gz
ASoC: rsnd: add common mod confirm method
Renesas sound has SSI/SRC/DVC/MIX/ADG modules, and these have original register mapping. Thus this driver is using regmap field, and each module is using it based on each module ID. Sometimes, each module needs other module to controlling. but current each function is using just "mod" as parameter name. This is confusable. For example, if SSI0 and SRC2 are connected, and if SRC module function has bug of module access, and if it needs to control connected SSI, SRC function will access to SSI2 (It should access to SSI0, but it uses SRC's ID 2). This is easy to happen in current driver style. To avoid this kind of confusable trouble, this patch adds module confirm macro for debug purpose. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud