summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2021-06-02 02:44:09 +0300
committerMark Brown <broonie@kernel.org>2021-06-03 15:56:41 +0300
commitd668a5e2409b2ff9291493b70c961ecbe883bfb2 (patch)
treebac964fd52a6cba78c981c2dc0fb89aedc57306a /tools/perf/scripts/python/exported-sql-viewer.py
parentcb2f97d89f383dafa822bce66f0c3514dfb135b8 (diff)
downloadlinux-d668a5e2409b2ff9291493b70c961ecbe883bfb2.tar.xz
ASoC: rsnd: adg: check return value for rsnd_adg_get_clkin/out()
Current rsnd_adg_get_clkin/out() are void function, thus adg->clk/clkout[i] might be NULL. But, for_each_rsnd_clk/clkout() macros are assuming all clks are non NULL. Because of this mismatch, code can be complex and/or buggy. These functions return error by this patch, and make sure all clks are non NULL. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87pmx5i20m.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