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/clk/mxs | |
parent | acc1c732f35bb3a26177e54cd3de27e3524426e4 (diff) | |
download | linux-stable-6ab9810cfe6c8f3d8b8750c827d7870abd3751b9.tar.gz linux-stable-6ab9810cfe6c8f3d8b8750c827d7870abd3751b9.tar.bz2 linux-stable-6ab9810cfe6c8f3d8b8750c827d7870abd3751b9.zip |
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/clk/mxs')
0 files changed, 0 insertions, 0 deletions