[PATCH 5.4 169/388] rtc: sa1100: fix possible race condition