aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKuninori Morimoto <[email protected]>2021-06-02 08:44:09 +0900
committerMark Brown <[email protected]>2021-06-03 13:56:41 +0100
commitd668a5e2409b2ff9291493b70c961ecbe883bfb2 (patch)
treebac964fd52a6cba78c981c2dc0fb89aedc57306a /tools/perf/scripts/python/bin
parentcb2f97d89f383dafa822bce66f0c3514dfb135b8 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions