summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_i2c.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-11-08 21:07:24 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-11-08 21:09:52 +0000
commit374c479bef7ecd2b41d6dd6e24aa21d73b3afae5 (patch)
treee9d72ff6735fb3a4b20c1bb5b681eb2b38e900ab /drivers/gpu/drm/i915/intel_i2c.c
parentdb5e4172a023cff68b3597ace8a5390b02669d27 (diff)
drm/i915: POSTING_READs are simply flushes and so irrelevant to tracing
As we use POSTING_READ to flush the write to the register before proceeding, we do not care what the return value is and similar we do not care for the read to be recorded whilst tracing register read/writes. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_i2c.c')
-rw-r--r--drivers/gpu/drm/i915/intel_i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_i2c.c b/drivers/gpu/drm/i915/intel_i2c.c
index 8f5c0d33ea0..d2d493a24e6 100644
--- a/drivers/gpu/drm/i915/intel_i2c.c
+++ b/drivers/gpu/drm/i915/intel_i2c.c
@@ -126,7 +126,7 @@ static void set_clock(void *data, int state_high)
GPIO_CLOCK_VAL_MASK;
I915_WRITE_NOTRACE(gpio->reg, reserved | clock_bits);
- POSTING_READ_NOTRACE(gpio->reg);
+ POSTING_READ(gpio->reg);
}
static void set_data(void *data, int state_high)
@@ -143,7 +143,7 @@ static void set_data(void *data, int state_high)
GPIO_DATA_VAL_MASK;
I915_WRITE_NOTRACE(gpio->reg, reserved | data_bits);
- POSTING_READ_NOTRACE(gpio->reg);
+ POSTING_READ(gpio->reg);
}
static struct i2c_adapter *