summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-imx-gpt.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-10-29 19:44:27 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-12-31 13:31:59 +0100
commit404b4b9770d88a1a81147ecee354da412c7267cd (patch)
treec97a042a59c4a35afcc7c409fd63eade0bb1686b /drivers/clocksource/timer-imx-gpt.c
parent6b0a5f9e153ef06f47ae74ecb69beaf575f5f08c (diff)
downloadlinux-stable-404b4b9770d88a1a81147ecee354da412c7267cd.tar.gz
linux-stable-404b4b9770d88a1a81147ecee354da412c7267cd.tar.bz2
linux-stable-404b4b9770d88a1a81147ecee354da412c7267cd.zip
clocksource/drivers/timer-ti-dm: Fix missing clk_disable_unprepare in dmtimer_systimer_init_clock()
[ Upstream commit 180d35a7c05d520314a590c99ad8643d0213f28b ] If clk_get_rate() fails which is called after clk_prepare_enable(), clk_disable_unprepare() need be called in error path to disable the clock in dmtimer_systimer_init_clock(). Fixes: 52762fbd1c47 ("clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Reviewed-by: Tony Lindgren <tony@atomide.com> Link: https://lore.kernel.org/r/20221029114427.946520-1-yangyingliang@huawei.com Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/clocksource/timer-imx-gpt.c')
0 files changed, 0 insertions, 0 deletions