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:
parent
32b4262721
commit
528cf6fcee
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user