[PATCH] rtc: snvs: add a missing write sync
Alexandre Belloni
alexandre.belloni at free-electrons.com
Tue Jan 31 13:04:29 PST 2017
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 <guy.shapiro at mobi-wize.com>
> ---
> 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
More information about the linux-arm-kernel
mailing list