[PATCH 4.14 122/246] rtc: tps6586x: fix possible race condition