xf86-video-intel: Branch 'modesetting' - src/i830_dvo.c

Keith Packard keithp at kemper.freedesktop.org
Wed Jan 3 05:25:35 EET 2007


 src/i830_dvo.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 5057769d3a7c1b3a94f49bbff47b9697f368d975 (from 2bb9bb951e664d704bdf7a808edbe8b2f50c4366)
Author: Dave Airlie <airlied at linux.ie>
Date:   Tue Jan 2 19:25:08 2007 -0800

    Use correct variable to initialize DVO I2C bus.
    
    intel_output->pI2CBus isn't initialized until the output is all happy and
    running, so using it before that is rather unlikely to do much good.

diff --git a/src/i830_dvo.c b/src/i830_dvo.c
index 37caf00..d938f46 100644
--- a/src/i830_dvo.c
+++ b/src/i830_dvo.c
@@ -294,7 +294,7 @@ i830_dvo_init(ScrnInfoPtr pScrn)
 	if (gpio_inited != gpio) {
 	    if (pI2CBus != NULL)
 		xf86DestroyI2CBusRec(pI2CBus, TRUE, TRUE);
-	    if (!I830I2CInit(pScrn, &intel_output->pI2CBus, gpio,
+	    if (!I830I2CInit(pScrn, &pI2CBus, gpio,
 			     gpio == GPIOB ? "DVOI2C_B" : "DVOI2C_E")) {
 		continue;
 	    }



More information about the xorg-commit mailing list