diff options
| author | Jiale Yao <yaojiale02@163.com> | 2026-10-03 16:08:11 +0800 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2026-10-14 20:43:56 +0200 |
| commit | c40b76c8cf580466d9e56223f7f74beecc165480 (patch) | |
| tree | aaf7488bdeabf8067d7a75e3064494443a86a5a6 /scripts/Makefile.thinlto | |
| parent | e234d40823808c1727e88a40d8c9ee960de1baed (diff) | |
| download | linux-c40b76c8cf580466d9e56223f7f74beecc165480.tar.gz linux-c40b76c8cf580466d9e56223f7f74beecc165480.zip | |
clocksource/drivers/timer-ti-dm: Handle runtime resume failure
omap_dm_timer_write_counter() accesses timer registers and updates the
saved counter value after requesting a runtime PM reference. If runtime
resume fails, the timer remains inaccessible and no reference is
acquired, but the function still writes the register, drops a
reference, updates the cached value, and reports success.
Check the return value and propagate an error before touching the timer
state.
Fixes: 0494fc345b37 ("clocksource/drivers/timer-ti-dm : Capture functionality for OMAP DM timer")
Signed-off-by: Jiale Yao <yaojiale02@163.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Link: https://patch.msgid.link/20261003080812.429386-1-yaojiale02@163.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
