summaryrefslogtreecommitdiff
path: root/src/i830_sdvo.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2007-04-19 13:00:03 -0700
committerKeith Packard <keithp@neko.keithp.com>2007-04-19 13:00:03 -0700
commit163c565527e8cda1f5a47c7fd63f04c80feaf3c7 (patch)
tree14a9ae7ffcd3875bed360b515c22128bb6f0218f /src/i830_sdvo.c
parent378ceea3d9ddbec7a08ac2f07f9a8cd9cf3cef36 (diff)
Use I2C delay function instead of usleep.
usleep isn't always available, and we have an existing delay mechanism available to use.
Diffstat (limited to 'src/i830_sdvo.c')
-rw-r--r--src/i830_sdvo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c
index e1a4a442..43b55a09 100644
--- a/src/i830_sdvo.c
+++ b/src/i830_sdvo.c
@@ -302,7 +302,7 @@ i830_sdvo_read_response(xf86OutputPtr output, void *response, int response_len)
if (status != SDVO_CMD_STATUS_PENDING)
return status;
- usleep(50);
+ intel_output->pI2CBus->I2CUDelay(intel_output->pI2CBus, 50);
}
return status;