diff options
| author | Yang Yingliang <[email protected]> | 2024-10-26 11:24:52 +0000 |
|---|---|---|
| committer | Abel Vesa <[email protected]> | 2024-11-05 10:07:59 +0000 |
| commit | 81a206d736c19139d3863b79e7174f9e98b45499 (patch) | |
| tree | 11f0693d2d7fabb06361e9f34976dcf92c1517fe /security/selinux/hooks.c | |
| parent | clk: imx: lpcg-scu: Skip HDMI LPCG clock save/restore (diff) | |
| download | kernel-81a206d736c19139d3863b79e7174f9e98b45499.tar.gz kernel-81a206d736c19139d3863b79e7174f9e98b45499.zip | |
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 <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Reviewed-by: Abel Vesa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Abel Vesa <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
