[PATCH] rtc: snvs: add a missing write sync
From: Alexandre Belloni <hidden>
Date: 2017-01-31 21:04:29
Also in:
linux-rtc
From: Alexandre Belloni <hidden>
Date: 2017-01-31 21:04:29
Also in:
linux-rtc
On 29/01/2017 at 11:57:19 +0200, Guy Shapiro wrote:
The clear of the LPTA_EN flag should be synced before writing to the alarm register. Omitting this synchronization creates a race when trying to change existing alarm. Signed-off-by: Guy Shapiro <redacted> --- drivers/rtc/rtc-snvs.c | 1 + 1 file changed, 1 insertion(+)
Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com