diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2007-05-08 03:38:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:28 -0400 |
commit | 0404384982b2f71eb00573c8f9da514106aca08c (patch) | |
tree | 46cda2d61dd2b268531fd3901d5559cd2737efa8 /drivers/video | |
parent | a65ff76ac8b24df49bbf4acc38918fb52d1033b0 (diff) |
rivafb: fixed reversed DDC ports
Fixed reversed DDC port so assignments are congruent with nvidiafb's and X's
nv driver.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/riva/rivafb-i2c.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/riva/rivafb-i2c.c b/drivers/video/riva/rivafb-i2c.c index bcb209670a18..76e6ce353c8e 100644 --- a/drivers/video/riva/rivafb-i2c.c +++ b/drivers/video/riva/rivafb-i2c.c | |||
@@ -133,11 +133,11 @@ void __devinit riva_create_i2c_busses(struct riva_par *par) | |||
133 | par->chan[1].par = par; | 133 | par->chan[1].par = par; |
134 | par->chan[2].par = par; | 134 | par->chan[2].par = par; |
135 | 135 | ||
136 | par->chan[0].ddc_base = 0x3e; | 136 | par->chan[0].ddc_base = 0x36; |
137 | par->chan[1].ddc_base = 0x36; | 137 | par->chan[1].ddc_base = 0x3e; |
138 | par->chan[2].ddc_base = 0x50; | 138 | par->chan[2].ddc_base = 0x50; |
139 | riva_setup_i2c_bus(&par->chan[0], "BUS1", 0); | 139 | riva_setup_i2c_bus(&par->chan[0], "BUS1", I2C_CLASS_HWMON); |
140 | riva_setup_i2c_bus(&par->chan[1], "BUS2", I2C_CLASS_HWMON); | 140 | riva_setup_i2c_bus(&par->chan[1], "BUS2", 0); |
141 | riva_setup_i2c_bus(&par->chan[2], "BUS3", 0); | 141 | riva_setup_i2c_bus(&par->chan[2], "BUS3", 0); |
142 | } | 142 | } |
143 | 143 | ||