diff options
author | 2023-10-03 08:50:20 +0300 | |
---|---|---|
committer | 2023-10-11 10:14:53 +0200 | |
commit | 12590d4d0e331d3cb9e6b3494515cd61c8a6624e (patch) | |
tree | f383a43dc01c5bdf343aaf008682572bb8731260 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | clocksource/drivers/timer-imx-gpt: Fix potential memory leak (diff) | |
download | wireguard-linux-12590d4d0e331d3cb9e6b3494515cd61c8a6624e.tar.xz wireguard-linux-12590d4d0e331d3cb9e6b3494515cd61c8a6624e.zip |
drivers/clocksource/timer-ti-dm: Don't call clk_get_rate() in stop function
clk_get_rate() might sleep, and that prevents dm-timer based PWM from being
used from atomic context.
Fix that by getting fclk rate in probe() and using a notifier in case rate
changes.
Fixes: af04aa856e93 ("ARM: OMAP: Move dmtimer driver out of plat-omap to drivers under clocksource")
Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/1696312220-11550-1-git-send-email-ivo.g.dimitrov.75@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions