diff options
author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | 2022-05-18 11:23:14 +0530 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-08-22 17:01:05 -0700 |
commit | 6ab9810cfe6c8f3d8b8750c827d7870abd3751b9 (patch) | |
tree | 7648467be1fec8e5fe1ca657a30755982e36d678 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | acc1c732f35bb3a26177e54cd3de27e3524426e4 (diff) |
clk: zynqmp: Add a check for NULL pointer
Add a NULL pointer check as clk_hw_get_parent can return NULL.
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Link: https://lore.kernel.org/r/20220518055314.2486-1-shubhrajyoti.datta@xilinx.com
Acked-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions