summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2024-10-26 14:24:52 +0300
committerAbel Vesa <abel.vesa@linaro.org>2024-11-05 13:07:59 +0300
commit81a206d736c19139d3863b79e7174f9e98b45499 (patch)
tree11f0693d2d7fabb06361e9f34976dcf92c1517fe /tools/perf/scripts/python
parent92888f39193419c117e282cce7fd762ba78784a4 (diff)
downloadlinux-81a206d736c19139d3863b79e7174f9e98b45499.tar.xz
clk: imx: imx8-acm: Fix return value check in clk_imx_acm_attach_pm_domains()
If device_link_add() fails, it returns NULL pointer not ERR_PTR(), replace IS_ERR() with NULL pointer check, and return -EINVAL. Fixes: d3a0946d7ac9 ("clk: imx: imx8: add audio clock mux driver") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Abel Vesa <abel.vesa@linaro.org> Link: https://lore.kernel.org/r/20241026112452.1523-1-yangyingliang@huaweicloud.com Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions