aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c')
-rw-r--r--drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c b/drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c
index 1eb86c79523e..e28107061148 100644
--- a/drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c
+++ b/drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c
@@ -99,7 +99,7 @@ static int xfer_read(struct i2c_adapter *adap, struct i2c_msg *pmsg)
99 i2c_dev->status = I2C_STAT_INIT; 99 i2c_dev->status = I2C_STAT_INIT;
100 i2c_dev->msg = pmsg; 100 i2c_dev->msg = pmsg;
101 i2c_dev->buf_offset = 0; 101 i2c_dev->buf_offset = 0;
102 INIT_COMPLETION(i2c_dev->complete); 102 reinit_completion(&i2c_dev->complete);
103 103
104 /* Enable I2C transaction */ 104 /* Enable I2C transaction */
105 temp = ((pmsg->len) << 20) | HI2C_EDID_READ | HI2C_ENABLE_TRANSACTION; 105 temp = ((pmsg->len) << 20) | HI2C_EDID_READ | HI2C_ENABLE_TRANSACTION;