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

2018-03-01 Thread Alexandre Belloni
Hi, this was not sent to the correct mailingr- list, please use a more recent kernel ;) On 28/02/2018 at 14:21:18 +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. >

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

2018-02-28 Thread Mohit Aggarwal
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. Change-Id: Ia2c9c922dd78e2ecb92554d5722c894706d83ac0 Signed-off-by: Mohit Aggarwal --- drivers/rtc/rtc-pm8xxx.c | 49 +