Skip to content
Commit fd6792bb authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: fix alarm read and set offset



The offset needs to be added after reading the alarm value.

It also needs to be subtracted after the now < alarm test.

Tested-by: default avatarJon Hunter <jonathanh@nvidia.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent ca95ef7c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment