Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clocksource/drivers/asm9260: Add missing clk_disable_unprepare in asm9260_timer_init

Add the missing clk_disable_unprepare() before return in
asm9260_timer_init().

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Link: https://lore.kernel.org/r/20240803064253.331946-2-cuigaosheng1@huawei.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Gaosheng Cui and committed by
Daniel Lezcano
6cc11b65 ca140a0d

+1
+1
drivers/clocksource/asm9260_timer.c
··· 210 210 DRIVER_NAME, &event_dev); 211 211 if (ret) { 212 212 pr_err("Failed to setup irq!\n"); 213 + clk_disable_unprepare(clk); 213 214 return ret; 214 215 } 215 216