Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307154
b: refs/heads/master
c: 79985ee
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Kurtz authored and Daniel Vetter committed Apr 13, 2012
1 parent 606e5e8 commit 3d59179
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f637fde434c9e3687798730c7ddd367e93666013
refs/heads/master: 79985eee842ef146ed6307a29fdc2fa008036421
4 changes: 2 additions & 2 deletions trunk/drivers/gpu/drm/i915/intel_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ gmbus_xfer_read(struct drm_i915_private *dev_priv, struct i2c_msg *msg,
(len << GMBUS_BYTE_COUNT_SHIFT) |
(msg->addr << GMBUS_SLAVE_ADDR_SHIFT) |
GMBUS_SLAVE_READ | GMBUS_SW_RDY);
do {
while (len) {
int ret;
u32 val, loop = 0;
u32 gmbus2;
Expand All @@ -235,7 +235,7 @@ gmbus_xfer_read(struct drm_i915_private *dev_priv, struct i2c_msg *msg,
*buf++ = val & 0xff;
val >>= 8;
} while (--len && ++loop < 4);
} while (len);
}

return 0;
}
Expand Down

0 comments on commit 3d59179

Please sign in to comment.