Re: [PATCH V4] rtc: zynqmp: Update seconds time programming logic

2016-04-21 Thread Alexandre Belloni
On 20/04/2016 at 21:17:35 +0530, Anurag Kumar Vulisha wrote : > We programe RTC time using SET_TIME_WRITE register and read the RTC > current time using CURRENT_TIME register. When we set the time by > writing into SET_TIME_WRITE Register and immediately try to read the > rtc time from

Re: [PATCH V4] rtc: zynqmp: Update seconds time programming logic

2016-04-21 Thread Alexandre Belloni
On 20/04/2016 at 21:17:35 +0530, Anurag Kumar Vulisha wrote : > We programe RTC time using SET_TIME_WRITE register and read the RTC > current time using CURRENT_TIME register. When we set the time by > writing into SET_TIME_WRITE Register and immediately try to read the > rtc time from

[PATCH V4] rtc: zynqmp: Update seconds time programming logic

2016-04-20 Thread Anurag Kumar Vulisha
We programe RTC time using SET_TIME_WRITE register and read the RTC current time using CURRENT_TIME register. When we set the time by writing into SET_TIME_WRITE Register and immediately try to read the rtc time from CURRENT_TIME register, the previous old value is returned instead of the new

[PATCH V4] rtc: zynqmp: Update seconds time programming logic

2016-04-20 Thread Anurag Kumar Vulisha
We programe RTC time using SET_TIME_WRITE register and read the RTC current time using CURRENT_TIME register. When we set the time by writing into SET_TIME_WRITE Register and immediately try to read the rtc time from CURRENT_TIME register, the previous old value is returned instead of the new