Re: [PATCH v2] rtc-pm8xxx: Fix issue in RTC write path

2018-03-06 Thread Alexandre Belloni
On 05/03/2018 at 14:35:58 +0530, Mohit Aggarwal wrote: > In order to set time in rtc, need to disable > rtc hw before writing into rtc registers. > > Also fixes disabling of alarm while setting > rtc time. > > Signed-off-by: Mohit Aggarwal > --- >

Re: [PATCH v2] rtc-pm8xxx: Fix issue in RTC write path

2018-03-06 Thread Alexandre Belloni
On 05/03/2018 at 14:35:58 +0530, Mohit Aggarwal wrote: > In order to set time in rtc, need to disable > rtc hw before writing into rtc registers. > > Also fixes disabling of alarm while setting > rtc time. > > Signed-off-by: Mohit Aggarwal > --- > drivers/rtc/rtc-pm8xxx.c | 49 >