diff options
author | Felix Kuehling <fxkuehl@gmx.de> | 2005-01-08 23:28:27 +0000 |
---|---|---|
committer | Felix Kuehling <fxkuehl@gmx.de> | 2005-01-08 23:28:27 +0000 |
commit | e7ba83bd6f3a1ab9981948a64e9a09940d25e281 (patch) | |
tree | aba3757d6000481c8a198063fe53d55381b42702 | |
parent | fb6a4d0a7dfd8e996dca6d45bb820979f231c82c (diff) |
Fixed off-by-one error in savage_bci_wait_fifo_shadow.
-rw-r--r-- | shared-core/savage_bci.c | 2 |
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); } |