Skip to content
Commit 83220bf3 authored by Mohit Aggarwal's avatar Mohit Aggarwal Committed by Alexandre Belloni
Browse files

rtc: pm8xxx: Fix issue in RTC write path



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: default avatarMohit Aggarwal <maggarwa@codeaurora.org>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent e22e2d94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment