[PATCH 4.14 087/239] rtc: mt6397: fix possible race condition