Re: [PATCH 3/3] RTC/PCF85063: fix time/date setting

2016-01-07 Thread Juergen Borleis
Hi Alexandre, sorry, missed your comment. Please keep me on CC since I'm not subscribed to the list. > > When setting a new time/date the RTC's clock must be stopped first, in > > order to write the time/date registers in an atomic manner. > > So, this change stops the clock first and then write

Re: [PATCH 3/3] RTC/PCF85063: fix time/date setting

2015-12-20 Thread Alexandre Belloni
On 07/12/2015 at 14:49:34 +0100, Juergen Borleis wrote : > When setting a new time/date the RTC's clock must be stopped first, in > order to write the time/date registers in an atomic manner. > So, this change stops the clock first and then writes the time/date > registers and the clock control reg

[PATCH 3/3] RTC/PCF85063: fix time/date setting

2015-12-07 Thread Juergen Borleis
When setting a new time/date the RTC's clock must be stopped first, in order to write the time/date registers in an atomic manner. So, this change stops the clock first and then writes the time/date registers and the clock control register (to re-enable the clock) in one turn. Signed-off-by: Juerg