diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2010-05-18 05:30:48 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-20 01:36:58 -0400 |
commit | 08d08fadde4549c7b857fa34f3696c882ed20864 (patch) | |
tree | 74c031386c2c0427e4ee3cb44ca38bf2b97649c0 /arch/arm/mach-s5pc100 | |
parent | 504d36e91ac12ccdb0e1193cee7bef9831a1c99e (diff) |
ARM: SMDKC100: fix frame buffer definitions
The definition of the framebuffer parameters was created when s3c-fb.c
driver was patched to support setting the refresh rate directly (commit
600ce1a0faafeed1ce6bcfd421bc040b941cbbc1). That patch was completely wrong
and was reverted in commit eb29a5cc0b601c458bae9df2f what breaked the
framebuffer on s5pc100. This patch updates framebuffer definitions to
correct values.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s5pc100')
-rw-r--r-- | arch/arm/mach-s5pc100/mach-smdkc100.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-s5pc100/mach-smdkc100.c b/arch/arm/mach-s5pc100/mach-smdkc100.c index bfe67db34f04..f2bce11cf287 100644 --- a/arch/arm/mach-s5pc100/mach-smdkc100.c +++ b/arch/arm/mach-s5pc100/mach-smdkc100.c | |||
@@ -118,8 +118,7 @@ static struct platform_device smdkc100_lcd_powerdev = { | |||
118 | static struct s3c_fb_pd_win smdkc100_fb_win0 = { | 118 | static struct s3c_fb_pd_win smdkc100_fb_win0 = { |
119 | /* this is to ensure we use win0 */ | 119 | /* this is to ensure we use win0 */ |
120 | .win_mode = { | 120 | .win_mode = { |
121 | .refresh = 70, | 121 | .pixclock = 1000000000000ULL / ((8+13+3+800)*(7+5+1+480)*80), |
122 | .pixclock = (8+13+3+800)*(7+5+1+480), | ||
123 | .left_margin = 8, | 122 | .left_margin = 8, |
124 | .right_margin = 13, | 123 | .right_margin = 13, |
125 | .upper_margin = 7, | 124 | .upper_margin = 7, |