Files
linux/drivers/rtc
Alexandre Belloni b45ef79dc3 rtc: fix alarm read and set offset
[ Upstream commit fd6792bb02 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-24 13:07:09 +02:00
..
2018-08-24 13:07:09 +02:00
2018-03-27 10:45:05 +02:00
2018-03-17 14:20:56 +01:00
2017-09-01 01:10:11 +02:00
2017-09-01 01:10:11 +02:00
2016-05-20 12:33:51 +02:00
2018-03-17 14:20:50 +01:00
2018-03-17 14:20:56 +01:00
2018-03-27 10:45:02 +02:00
2017-08-22 12:05:21 +02:00
2016-05-20 12:33:51 +02:00
2017-09-05 09:55:02 +02:00
2018-03-17 14:20:57 +01:00
2017-08-24 11:03:35 +02:00
2017-11-29 22:20:56 +01:00
2018-03-17 14:20:54 +01:00
2016-05-20 12:33:51 +02:00