drm/radeon/kms: fix for hw i2c

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, April 1, 2010 - 10:59 am

Gitweb:     http://git.kernel.org/linus/ae08819c2a4729444676f1bb55e5e28263f6f5a1
Commit:     ae08819c2a4729444676f1bb55e5e28263f6f5a1
Parent:     15f7207761cfcf8f53fb6e5cacffe060478782c3
Author:     Alex Deucher <alexdeucher@gmail.com>
AuthorDate: Thu Mar 11 13:28:14 2010 -0500
Committer:  Dave Airlie <airlied@redhat.com>
CommitDate: Mon Mar 15 09:58:08 2010 +1000

    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>
---
 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 4ae50c1..5d93418 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,
 	prescale = radeon_get_i2c_prescale(rdev);
 
 	reg = ((prescale << RADEON_I2C_PRESCALE_SHIFT) |
+	       RADEON_I2C_DRIVE_EN |
 	       RADEON_I2C_START |
 	       RADEON_I2C_STOP |
 	       RADEON_I2C_GO);
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
drm/radeon/kms: fix for hw i2c, Linux Kernel Mailing ..., (Thu Apr 1, 10:59 am)