5510e1fe3b
This fixes race condition when rtc_get_counter_val() call immediately follows rtc_set_counter_val().
This fixes race condition when rtc_get_counter_val() call immediately follows rtc_set_counter_val().