Commit 42a9899e authored by Ankit Agrawal's avatar Ankit Agrawal Committed by Greg Kroah-Hartman
Browse files

clocksource/drivers/qcom: Add missing iounmap() on errors in msm_dt_timer_init()



[ Upstream commit ca140a0d ]

Add the missing iounmap() when clock frequency fails to get read by the
of_property_read_u32() call, or if the call to msm_timer_init() fails.

Fixes: 6e332163 ("ARM: msm: Add DT support to msm_timer")
Signed-off-by: default avatarAnkit Agrawal <agrawal.ag.ankit@gmail.com>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240713095713.GA430091@bnew-VirtualBox


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 97586fbd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment