An error occurred while fetching folder content.
rtc: fix alarm read and set offset
Alexandre Belloni authored
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>
fd6792bb
Name Last commit Last update
..