diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-11-06 10:08:06 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-11-12 18:42:03 +0000 |
commit | 74bd3f92d0d173fe4c0a12cf736c505ceb15576a (patch) | |
tree | fd8e8de5eceebc50db8378614ffd35e90bdd4cc4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ed90c013a773b5f9e06089d0eed6714761152d14 (diff) |
ASoC: soc-core: tidyup soc_probe_aux_devices()
snd_soc_bind_card() is calling many initialize functions
for each card / link / dai / aux etc, etc, etc...
When error happen, the message is indicated at snd_soc_bind_card(),
not at each functions.
But, only soc_probe_aux_devices() case is indicating error at functions,
not at snd_soc_bind_card().
It is not an issue, but unbalanced.
This patch moves error message to snd_soc_bind_card().
Also avoids deep-nested code.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87lfsthkw9.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions