[PATCH 4.19 156/422] rtc: mt6397: fix possible race condition