Skip to content
Commit c3ce5b37 authored by Heiko Stuebner's avatar Heiko Stuebner
Browse files

soc: rockchip: power-domain: don't try to print the clock name in error case



When we never got the the clock-reference, i.e. when IS_ERR(clk) is true,
don't try to print the clock name via %pC as this of course produces a
null-pointer-dereference in __clk_get_name().

Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Reviewed-by: default avatarCaesar Wang <wxt@rock-chips.com>
parent 0cc59891
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment