[PATCH 4.19 111/245] rtc: sa1100: fix possible race condition