diff options
author | Jingoo Han <jg1.han@samsung.com> | 2011-04-22 03:09:31 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-24 03:15:52 -0400 |
commit | c9d503e93562e1de093ff16a480fc8801cfa70d9 (patch) | |
tree | 981f7948dad3e13f0fa51dc1be5756f14728f9e2 /drivers/video/s3c-fb.c | |
parent | 12e572d90c0868be9d3158325da7ccd5cb91c2cd (diff) |
video: s3c-fb: correct window osd size offset values
Offset values for OSD size registers of window 1 and 2 are corrected.
The offset values of OSD size registers are as follows:
window0: VIDOSDC (0x8)
window1 and 2: VIDOSDD (0xc)
window3 and 4: not present
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/s3c-fb.c')
-rw-r--r-- | drivers/video/s3c-fb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c index d570e588f40a..88c373d9f274 100644 --- a/drivers/video/s3c-fb.c +++ b/drivers/video/s3c-fb.c | |||
@@ -1633,7 +1633,7 @@ static struct s3c_fb_win_variant s3c_fb_data_64xx_wins[] = { | |||
1633 | [1] = { | 1633 | [1] = { |
1634 | .has_osd_c = 1, | 1634 | .has_osd_c = 1, |
1635 | .has_osd_d = 1, | 1635 | .has_osd_d = 1, |
1636 | .osd_size_off = 0x12, | 1636 | .osd_size_off = 0xc, |
1637 | .has_osd_alpha = 1, | 1637 | .has_osd_alpha = 1, |
1638 | .palette_sz = 256, | 1638 | .palette_sz = 256, |
1639 | .valid_bpp = (VALID_BPP1248 | VALID_BPP(16) | | 1639 | .valid_bpp = (VALID_BPP1248 | VALID_BPP(16) | |
@@ -1643,7 +1643,7 @@ static struct s3c_fb_win_variant s3c_fb_data_64xx_wins[] = { | |||
1643 | [2] = { | 1643 | [2] = { |
1644 | .has_osd_c = 1, | 1644 | .has_osd_c = 1, |
1645 | .has_osd_d = 1, | 1645 | .has_osd_d = 1, |
1646 | .osd_size_off = 0x12, | 1646 | .osd_size_off = 0xc, |
1647 | .has_osd_alpha = 1, | 1647 | .has_osd_alpha = 1, |
1648 | .palette_sz = 16, | 1648 | .palette_sz = 16, |
1649 | .palette_16bpp = 1, | 1649 | .palette_16bpp = 1, |