Skip to content
Commit c6b61d48 authored by Yang Yingliang's avatar Yang Yingliang Committed by Stephen Boyd
Browse files

clk: en7523: fix wrong pointer check in en7523_clk_probe()



Check the real return value of devm_platform_ioremap_resource()
in en7523_clk_probe().

Fixes: 1e627317 ("clk: en7523: Add clock driver for Airoha EN7523 SoC")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220426131539.388382-1-yangyingliang@huawei.com


Acked-by: default avatarFelix Fietkau <nbd@nbd.name>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 1e627317
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