Remove extra (and incorrect) I2C ByteTimeout setting.
Setting the value correctly and then immediately breaking it caused many I2C transactions to timeout with slow monitors. Oops.
This commit is contained in:
parent
9d6d9ace4b
commit
a58befe9d2
|
|
@ -368,10 +368,14 @@ I830I2CInit(ScrnInfoPtr pScrn, I2CBusPtr *bus_ptr, int i2c_reg, char *name)
|
|||
|
||||
/* Assume all busses are used for DDCish stuff */
|
||||
|
||||
/*
|
||||
* These were set incorrectly in the server pre-1.3, Having
|
||||
* duplicate settings is sub-optimal, but this lets the driver
|
||||
* work with older servers
|
||||
*/
|
||||
pI2CBus->ByteTimeout = 2200; /* VESA DDC spec 3 p. 43 (+10 %) */
|
||||
pI2CBus->StartTimeout = 550;
|
||||
pI2CBus->BitTimeout = 40;
|
||||
pI2CBus->ByteTimeout = 40;
|
||||
pI2CBus->AcknTimeout = 40;
|
||||
|
||||
if (!xf86I2CBusInit(pI2CBus))
|
||||
|
|
|
|||
Loading…
Reference in New Issue