Skip to content
Commit c1e6cad0 authored by Yang Yingliang's avatar Yang Yingliang Committed by Daniel Lezcano
Browse files

clocksource/drivers/orion: Add missing clk_disable_unprepare() on error path



After calling clk_prepare_enable(), clk_disable_unprepare() need
be called on error path.

Fixes: fbe4b356 ("clocksource/drivers/orion: Convert init function...")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20201111064706.3397156-1-yangyingliang@huawei.com
parent b6ea209e
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