Re: [PATCH v2] rtc-pm8xxx: Fix issue in RTC write path
From: Alexandre Belloni
Date: Tue Mar 06 2018 - 09:50:58 EST
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 <maggarwa@xxxxxxxxxxxxxx>
> ---
> drivers/rtc/rtc-pm8xxx.c | 49 +++++++++++++++++++++++++++++++++++++-----------
> 1 file changed, 38 insertions(+), 11 deletions(-)
>
Applied, thanks.
--
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com