[PATCH 9/9] drm/i915/intel_i2c: reuse GMBUS2 value from polling loop

2012-03-07 Thread Daniel Kurtz
Save the GMBUS2 value read while polling for state changes, and then reuse this value when determining for which reason the loops were exited. This is a small optimization which saves a couple of bus accesses for memory mapped IO registers. Note: checkpatch doesn't like this ('assigning in if cond

[PATCH 9/9] drm/i915/intel_i2c: reuse GMBUS2 value from polling loop

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:50 +0800, Daniel Kurtz wrote: > Save the GMBUS2 value read while polling for state changes, and then > reuse this value when determining for which reason the loops were exited. > This is a small optimization which saves a couple of bus accesses for > memory mapped IO reg

[PATCH 9/9] drm/i915/intel_i2c: reuse GMBUS2 value from polling loop

2012-03-07 Thread Daniel Kurtz
Save the GMBUS2 value read while polling for state changes, and then reuse this value when determining for which reason the loops were exited. This is a small optimization which saves a couple of bus accesses for memory mapped IO registers. Note: checkpatch doesn't like this ('assigning in if cond

Re: [PATCH 9/9] drm/i915/intel_i2c: reuse GMBUS2 value from polling loop

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:50 +0800, Daniel Kurtz wrote: > Save the GMBUS2 value read while polling for state changes, and then > reuse this value when determining for which reason the loops were exited. > This is a small optimization which saves a couple of bus accesses for > memory mapped IO regi