Skip to content
Commit a8b70760 authored by Johan Lafon's avatar Johan Lafon Committed by Fabio Baltieri
Browse files

drivers: rtc: stm32: ensure thread safe operations



This adds mutex a lock in rtc_stm32_set_time and rtc_stm32_get_time to
ensure consistent data reading. Also performs register reading in a single
operation in rtc_stm32_get_calibration for the same reason.

Signed-off-by: default avatarJohan Lafon <johan.lafon@syslinbit.com>
parent e46aff59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment