summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-05-18 16:55:30 +1000
committerDave Airlie <airlied@linux.ie>2006-06-02 10:07:54 +1000
commit610be2b330498cca81ebdb08f7cc92b6737f08da (patch)
tree953caa8a77272f25c5e55a1b808e632e1b2d3079
parentbd16bf97ab7e6c75322ae5304da1e2bf3706f3e8 (diff)
fix SDVO return values to setup outputs
-rw-r--r--src/i830_sdvo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c
index c246a5af..726f28f9 100644
--- a/src/i830_sdvo.c
+++ b/src/i830_sdvo.c
@@ -169,8 +169,8 @@ I830SDVOGetActiveOutputs(I830SDVOPtr s, Bool *on_1, Bool *on_2)
I830SDVOWriteOutputs(s, 0);
I830SDVOReadInputRegs(s);
- *on_1 = s->sdvo_regs[SDVO_I2C_ARG_0];
- *on_2 = s->sdvo_regs[SDVO_I2C_ARG_1];
+ *on_1 = s->sdvo_regs[SDVO_I2C_RETURN_0];
+ *on_2 = s->sdvo_regs[SDVO_I2C_RETURN_1];
return TRUE;
}