projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef61d3d
)
drm/radeon: use DDC_ADDR instead of hard-coding it
author
Matt Turner
<mattst88@gmail.com>
Fri, 23 Sep 2011 17:18:16 +0000
(13:18 -0400)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 21 Mar 2012 10:20:13 +0000
(10:20 +0000)
Signed-off-by: Matt Turner <mattst88@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
3265a7a
..
85bcfc8
100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_i2c.c
+++ b/
drivers/gpu/drm/radeon/radeon_i2c.c
@@
-26,6
+26,7
@@
#include <linux/export.h>
#include "drmP.h"
+#include "drm_edid.h"
#include "radeon_drm.h"
#include "radeon.h"
#include "atom.h"
@@
-45,13
+46,13
@@
bool radeon_ddc_probe(struct radeon_connector *radeon_connector)
int ret;
struct i2c_msg msgs[] = {
{
- .addr =
0x50
,
+ .addr =
DDC_ADDR
,
.flags = 0,
.len = 1,
.buf = &out,
},
{
- .addr =
0x50
,
+ .addr =
DDC_ADDR
,
.flags = I2C_M_RD,
.len = 8,
.buf = buf,