[PATCH AUTOSEL 4.14 11/23] rtc: snvs: fix possible race condition