sync: Fix diffgreater comparison

xsync: Fix diffgreater comparison

While transitioning from CARD64 to int64,
the GreaterThan call was mistakenly transformed into ">=".
Part of this was fixed already in
commit 8060196a3e

This patch fixes the remaining issue.

Signed-off-by: David Weinehall <david.weinehall@linux.intel.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
David Weinehall 2018-01-18 15:12:46 +02:00 committed by Adam Jackson
parent 32b4262721
commit 528cf6fcee

View File

@ -660,7 +660,7 @@ SyncAwaitTriggerFired(SyncTrigger * pTrigger)
*/
if (overflow)
continue;
diffgreater = diff >= pAwait->event_threshold;
diffgreater = diff > pAwait->event_threshold;
diffequal = diff == pAwait->event_threshold;
/* "If the test-type is PositiveTransition or