mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-11 02:45:50 +00:00
There's a number of edge cases when cancelling a alarm, so to be sure we accurately do so, introduce try_to_cancel, which returns proper failure errors if it cannot. Also modify cancel to spin until the alarm is properly disabled. CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
1.9 KiB
1.9 KiB