summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-05-18 16:17:27 +1000
committerDave Airlie <airlied@linux.ie>2006-06-02 10:05:05 +1000
commit056c85f9b79fda51697710259df5c5a7fdf758c7 (patch)
tree4d3f5b73782d961fd5e59a11d4fde2f12602db5f
parent758d1e82d5731f9f8250eb2775d035e9b3eba285 (diff)
downloadxorg-driver-xf86-video-intel-056c85f9b79fda51697710259df5c5a7fdf758c7.tar.gz
only read 8 registers to check for sdvo
-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 272057c2..c246a5af 100644
--- a/src/i830_sdvo.c
+++ b/src/i830_sdvo.c
@@ -833,7 +833,7 @@ I830SDVOInit(ScrnInfoPtr pScrn, int output_index, CARD32 output_device)
pI830->output[output_index].pDDCBus = ddcbus;
/* Read the regs to test if we can talk to the device */
- for (i = 0; i < 0x40; i++) {
+ for (i = 0; i < 0x8; i++) {
if (!sReadByte(sdvo, i, &ch[i])) {
xf86DestroyI2CBusRec(pI830->output[output_index].pDDCBus, FALSE,
FALSE);