commit | 0ce361010578834528e6e987c2f75d942884e370 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed Mar 09 22:26:22 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Mar 09 22:26:22 2022 +0000 |
tree | 8e2c640be06a05fdc28ced0de956702c43663f1d | |
parent | 01e9f85df3aede7333b35b5fc71ae1e64cb781e8 [diff] | |
parent | b8f24097f289a4b95d1179e9f019f7250c546c3c [diff] |
Merge "drm_hwcomposer: Merge remote-tracking branch 'aosp/upstream-main' into HEAD" am: bc74646e90 am: b52fbe0ff4 am: b8f24097f2 Original change: https://android-review.googlesource.com/c/platform/external/drm_hwcomposer/+/2007868 Change-Id: Ie962b5ff821f166d79323474bc6fad66d930e8fa
diff --git a/drm/VSyncWorker.cpp b/drm/VSyncWorker.cpp index 8cb4d08..ed41189 100644 --- a/drm/VSyncWorker.cpp +++ b/drm/VSyncWorker.cpp
@@ -92,7 +92,7 @@ vsync.tv_nsec = int(phased_timestamp - (vsync.tv_sec * kOneSecondNs)); do { ret = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &vsync, nullptr); - } while (ret == -1 && errno == EINTR); + } while (ret == EINTR); if (ret) return ret;