diff options
author | Tony Lindgren <tony@atomide.com> | 2022-08-15 16:12:47 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-09-20 11:49:46 +0300 |
commit | bd351f1aee21ca667b39658550b5f3c61e8bb77f (patch) | |
tree | 8ba76146fd9ee4852018925a16ea94c04124c348 /certs | |
parent | 1d513f439d7930363adce4588030af7c8fa71cc9 (diff) | |
download | linux-bd351f1aee21ca667b39658550b5f3c61e8bb77f.tar.xz |
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 'certs')
0 files changed, 0 insertions, 0 deletions