projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15f7207
)
drm/radeon/kms: fix for hw i2c
author
Alex Deucher
<alexdeucher@gmail.com>
Thu, 11 Mar 2010 18:28:14 +0000
(13:28 -0500)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 14 Mar 2010 23:58:08 +0000
(09:58 +1000)
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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_i2c.c
b/drivers/gpu/drm/radeon/radeon_i2c.c
index
4ae50c1
..
5d93418
100644
(file)
--- 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);