commit | fd6792bb022e43faa0c4a45b6f25285e21206f9d | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | Thu Jul 12 12:22:44 2018 +0200 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Fri Jul 13 10:37:54 2018 +0200 |
tree | a4f98ad7c770d6317e749fed29d5acad1b0a3ff0 | |
parent | ca95ef7c98674a8eb5d411fc0835783051c0662b [diff] |
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: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>