]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pl030: switch to rtc_time64_to_tm/rtc_tm_to_time64
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 6 Mar 2020 00:57:30 +0000 (01:57 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 16 Mar 2020 10:12:09 +0000 (11:12 +0100)
commit48d72e906e4c0041c9fa9cd1a39fca3a81d2df13
treec8f8c5ce74da52770abdf77e6dbd7d429a7a0922
parentd3c022448f9b7abea856307cb911e2a484ec52db
rtc: pl030: switch to rtc_time64_to_tm/rtc_tm_to_time64

Call the 64bit versions of rtc_tm time conversion to avoid the y2106 issue.

Link: https://lore.kernel.org/r/20200306005730.38268-3-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pl030.c