diff options
| author | Mohit Aggarwal <maggarwa@codeaurora.org> | 2020-04-21 13:40:07 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-24 07:57:22 +0200 |
| commit | 182ce80359f209c7f41a19702e08c24060230b52 (patch) | |
| tree | a6cdbc3f2188588636d1c6fede71cfa3e47f63a7 /include/linux | |
| parent | 22aae67745b7ca303bc29e0fa58248e358118616 (diff) | |
rtc: pm8xxx: Fix issue in RTC write path
[ Upstream commit 83220bf38b77a830f8e62ab1a0d0408304f9b966 ]
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@codeaurora.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
