From 578da7ca705c5a58c0bd397b0831e2f95140f8ae Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 13 Mar 2007 10:11:29 -0700 Subject: [PATCH] Add PCI write posting protection to i2c putbits. --- src/i830_i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/i830_i2c.c b/src/i830_i2c.c index 450f9de0..7fac63cd 100644 --- a/src/i830_i2c.c +++ b/src/i830_i2c.c @@ -336,6 +336,7 @@ i830I2CPutBits(I2CBusPtr b, int clock, int data) clock_bits = GPIO_CLOCK_DIR_OUT|GPIO_CLOCK_DIR_MASK|GPIO_CLOCK_VAL_MASK; OUTREG(b->DriverPrivate.uval, reserved | data_bits | clock_bits); + (void)INREG(b->DriverPrivate.uval); } #endif