diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-24 10:56:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-24 10:56:52 -0400 |
commit | 4cc4d24efce4672f9b0e7fa27963770ae602998f (patch) | |
tree | e69e7209db5500164eedb82c46ea657499b72287 /drivers/video/aty | |
parent | b81a618dcd3ea99de292dbe624f41ca68f464376 (diff) | |
parent | 56be1416453c31d32f984328b5193489ab63ffcf (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-2.6: (140 commits)
MAINTAINERS: de-orphan fbdev.
MAINTAINERS: Add file pattern for fb dt bindings.
video: Move sm501fb devicetree binding documentation to a better place.
fbcon: fix situation where fbcon gets deinitialised and can't reinit.
video, sm501: add OF binding to support SM501
video, sm501: add edid and commandline support
video, sm501: add I/O functions for use on powerpc
video: Fix EDID macros H_SYNC_WIDTH and H_SYNC_OFFSET
fbcon: Bugfix soft cursor detection in Tile Blitting
video: add missing framebuffer_release in error path
video: metronomefb: add __devexit_p around reference to metronomefb_remove
video: hecubafb: add __devexit_p around reference to hecubafb_remove
drivers:video:aty:radeon_base Fix typo occationally to occasionally
atmel_lcdfb: add fb_blank function
atmel_lcdfb: implement inverted contrast pwm
video: s3c-fb: return proper error if clk_get fails
uvesafb,vesafb: create WC or WB PAT-entries
video: ffb: fix ffb_probe error path
radeonfb: Let hwmon driver probe the "monid" I2C bus
fbdev: sh_mobile_lcdc: checking NULL instead of IS_ERR()
...
Diffstat (limited to 'drivers/video/aty')
-rw-r--r-- | drivers/video/aty/radeon_base.c | 2 | ||||
-rw-r--r-- | drivers/video/aty/radeon_i2c.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c index 3c1e13ed1cba..32f8cf6200a7 100644 --- a/drivers/video/aty/radeon_base.c +++ b/drivers/video/aty/radeon_base.c | |||
@@ -1248,7 +1248,7 @@ static void radeon_write_pll_regs(struct radeonfb_info *rinfo, struct radeon_reg | |||
1248 | 1248 | ||
1249 | /* Workaround from XFree */ | 1249 | /* Workaround from XFree */ |
1250 | if (rinfo->is_mobility) { | 1250 | if (rinfo->is_mobility) { |
1251 | /* A temporal workaround for the occational blanking on certain laptop | 1251 | /* A temporal workaround for the occasional blanking on certain laptop |
1252 | * panels. This appears to related to the PLL divider registers | 1252 | * panels. This appears to related to the PLL divider registers |
1253 | * (fail to lock?). It occurs even when all dividers are the same | 1253 | * (fail to lock?). It occurs even when all dividers are the same |
1254 | * with their old settings. In this case we really don't need to | 1254 | * with their old settings. In this case we really don't need to |
diff --git a/drivers/video/aty/radeon_i2c.c b/drivers/video/aty/radeon_i2c.c index 78d1f4cd1fe0..ab1d0fd76316 100644 --- a/drivers/video/aty/radeon_i2c.c +++ b/drivers/video/aty/radeon_i2c.c | |||
@@ -100,6 +100,9 @@ void radeon_create_i2c_busses(struct radeonfb_info *rinfo) | |||
100 | { | 100 | { |
101 | rinfo->i2c[0].rinfo = rinfo; | 101 | rinfo->i2c[0].rinfo = rinfo; |
102 | rinfo->i2c[0].ddc_reg = GPIO_MONID; | 102 | rinfo->i2c[0].ddc_reg = GPIO_MONID; |
103 | #ifndef CONFIG_PPC | ||
104 | rinfo->i2c[0].adapter.class = I2C_CLASS_HWMON; | ||
105 | #endif | ||
103 | radeon_setup_i2c_bus(&rinfo->i2c[0], "monid"); | 106 | radeon_setup_i2c_bus(&rinfo->i2c[0], "monid"); |
104 | 107 | ||
105 | rinfo->i2c[1].rinfo = rinfo; | 108 | rinfo->i2c[1].rinfo = rinfo; |