diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-03-11 13:28:14 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-03-14 19:58:08 -0400 |
commit | ae08819c2a4729444676f1bb55e5e28263f6f5a1 (patch) | |
tree | 9d91072eb942646c681b4624ece5754cb630fdd4 /drivers | |
parent | 15f7207761cfcf8f53fb6e5cacffe060478782c3 (diff) |
drm/radeon/kms: fix for hw i2c
use the i2c pads to drive SDA
Possible fix for fdo bug 26430
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_i2c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_i2c.c b/drivers/gpu/drm/radeon/radeon_i2c.c index 4ae50c19589f..5d93418f9fca 100644 --- a/drivers/gpu/drm/radeon/radeon_i2c.c +++ b/drivers/gpu/drm/radeon/radeon_i2c.c | |||
@@ -291,6 +291,7 @@ static int r100_hw_i2c_xfer(struct i2c_adapter *i2c_adap, | |||
291 | prescale = radeon_get_i2c_prescale(rdev); | 291 | prescale = radeon_get_i2c_prescale(rdev); |
292 | 292 | ||
293 | reg = ((prescale << RADEON_I2C_PRESCALE_SHIFT) | | 293 | reg = ((prescale << RADEON_I2C_PRESCALE_SHIFT) | |
294 | RADEON_I2C_DRIVE_EN | | ||
294 | RADEON_I2C_START | | 295 | RADEON_I2C_START | |
295 | RADEON_I2C_STOP | | 296 | RADEON_I2C_STOP | |
296 | RADEON_I2C_GO); | 297 | RADEON_I2C_GO); |