diff options
author | 2011-08-10 12:41:36 -0700 | |
---|---|---|
committer | 2011-08-10 14:55:29 -0700 | |
commit | 9082c465a5403f4a98734193e078552991a2e283 (patch) | |
tree | 387e564f326488abe9ee84b0c723294ea573de1e /drivers/i2c/algos/i2c-algo-bit.c | |
parent | alarmtimers: Add more refined alarm state tracking (diff) | |
download | wireguard-linux-9082c465a5403f4a98734193e078552991a2e283.tar.xz wireguard-linux-9082c465a5403f4a98734193e078552991a2e283.zip |
alarmtimers: Add try_to_cancel functionality
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>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions