There is really no good reason for I2C bus based automatic display detection to not be turned on by default.
Signed-off-by: Kevin Brace <[email protected]> --- src/lg_driver.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lg_driver.c b/src/lg_driver.c index 1042030..95886b0 100644 --- a/src/lg_driver.c +++ b/src/lg_driver.c @@ -349,7 +349,6 @@ LgDoDDC(ScrnInfoPtr pScrn) if (!CirMapMem(pCir, pScrn->scrnIndex)) return FALSE; -#if LGuseI2C if (!LgI2CInit(pScrn)) { xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "I2C initialization failed\n"); @@ -371,13 +370,10 @@ LgDoDDC(ScrnInfoPtr pScrn) xf86PrintEDID(MonInfo); xf86DrvMsg(pScrn->scrnIndex, X_INFO, "end of I2C Monitor info\n\n"); -#endif /* LGuseI2C */ xf86SetDDCproperties(pScrn, MonInfo); -#if LGuseI2C - unmap_out: -#endif /* LGuseI2C */ +unmap_out: CirUnmapMem(pCir, pScrn->scrnIndex); return MonInfo; -- 2.17.1 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
