rtc: zynqmp: Write Calibration value before setting time
authorAnurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com>
Tue, 12 Apr 2016 12:15:45 +0000 (17:45 +0530)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 20 May 2016 10:33:51 +0000 (12:33 +0200)
commit58c4ed3ba2e0c97e33affd237dc05738fa55a725
tree652d1d2f2c20fb3e67f88d9af9aaa3722d8ef6f5
parent9092984f1a8440ea52bf53c2d53bf8f5953a5126
rtc: zynqmp: Write Calibration value before setting time

It is suggested to program CALIB_WRITE register with the calibration
value before updating the SET_TIME_WRITE register, doing so will
clear the Tick Counter and force the next second to be signaled
exactly in 1 second.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-zynqmp.c