summaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2021-11-07 23:54:46 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-11-10 00:45:56 +0100
commitd87f741dddabd670a82bccf94ac73cec80209bc0 (patch)
tree8dc414966bd5e15e5927c406e34c94cc834f26e6 /crypto/tcrypt.c
parent72e4ee638d8e1d7d80079c37ec8641fec0d63016 (diff)
downloadlinux-stable-d87f741dddabd670a82bccf94ac73cec80209bc0.tar.gz
linux-stable-d87f741dddabd670a82bccf94ac73cec80209bc0.tar.bz2
linux-stable-d87f741dddabd670a82bccf94ac73cec80209bc0.zip
rtc: handle alarms with a minute resolution
Handle alarms with a minute resolution in the core. Until now drivers have been open coding the seconds part removal and have been doing that wrongly. Most of them are rounding up which means the allow the system to miss deadlines. So, round down and let __rtc_set_alarm return immediately if the time has already passed. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20211107225458.111068-1-alexandre.belloni@bootlin.com
Diffstat (limited to 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions