summaryrefslogtreecommitdiff
path: root/include/clocksource
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2022-08-15 16:12:47 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2022-09-20 10:49:46 +0200
commitbd351f1aee21ca667b39658550b5f3c61e8bb77f (patch)
tree8ba76146fd9ee4852018925a16ea94c04124c348 /include/clocksource
parent1d513f439d7930363adce4588030af7c8fa71cc9 (diff)
clocksource/drivers/timer-ti-dm: Use runtime PM directly and check errors
Use pm_runtime_resume_and_get() and check for a possible error returned. We want to do this as omap_dm_timer_enable() and omap_dm_timer_disable() are exposed to the pwm and remoteproc drivers, and in the following patch we turn struct omap_dm_timer into a cookie used by the exposed functions only. Signed-off-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Janusz Krzysztofik <jmkrzyszt@gmail.com> Link: https://lore.kernel.org/r/20220815131250.34603-7-tony@atomide.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'include/clocksource')
0 files changed, 0 insertions, 0 deletions