summaryrefslogtreecommitdiff
path: root/shared-core/savage_bci.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core/savage_bci.c')
-rw-r--r--shared-core/savage_bci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/savage_bci.c b/shared-core/savage_bci.c
index e5f00391..de15e2b0 100644
--- a/shared-core/savage_bci.c
+++ b/shared-core/savage_bci.c
@@ -48,7 +48,7 @@ savage_bci_wait_fifo_shadow(drm_savage_private_t *dev_priv, unsigned int n)
for (i = 0; i < SAVAGE_DEFAULT_USEC_TIMEOUT; i++) {
status = dev_priv->status_ptr[0];
- if ((status & mask) <= threshold)
+ if ((status & mask) < threshold)
return 0;
DRM_UDELAY(1);
}