summaryrefslogtreecommitdiff
path: root/src/i830_i2c.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-03-13 10:11:29 -0700
committerEric Anholt <eric@anholt.net>2007-03-13 16:59:38 -0700
commit578da7ca705c5a58c0bd397b0831e2f95140f8ae (patch)
treee79ab6d9b9b6803ffd1b88520e62e10e6b0f8f38 /src/i830_i2c.c
parentcf33abe43bd95c9437fad8e6201a24084ff96cb8 (diff)
Add PCI write posting protection to i2c putbits.
Diffstat (limited to 'src/i830_i2c.c')
-rw-r--r--src/i830_i2c.c1
1 files changed, 1 insertions, 0 deletions
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