diff options
author | Denis V. Lunev <den@openvz.org> | 2008-12-03 11:42:01 +0300 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-08 15:37:28 +0300 |
commit | 866bbdba7795cac2da24853ea2259e0e4ef7d02d (patch) | |
tree | 75bac788252a8c367af12288ac8dddf5a031e41e /drivers/video | |
parent | b4a11d3da20db62f31b3133a6eca8a35633e0838 (diff) | |
download | linux-866bbdba7795cac2da24853ea2259e0e4ef7d02d.tar.xz |
backlight: Value of ILI9320_RGB_IF2 register should not be hardcoded
It is stored in the board specific file
./arch/arm/mach-s3c2412/mach-jive.c
as .rgb_if2.
Actually, the value is correct, only semantic is wrong.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/backlight/vgg2432a4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/vgg2432a4.c b/drivers/video/backlight/vgg2432a4.c index 593c7687d54a..8e653b8a6f17 100644 --- a/drivers/video/backlight/vgg2432a4.c +++ b/drivers/video/backlight/vgg2432a4.c @@ -137,7 +137,7 @@ static int vgg2432a4_lcd_init(struct ili9320 *lcd, ili9320_write(lcd, ILI9320_RGB_IF1, cfg->rgb_if1); ili9320_write(lcd, ILI9320_FRAMEMAKER, 0x0); - ili9320_write(lcd, ILI9320_RGB_IF2, ILI9320_RGBIF2_DPL); + ili9320_write(lcd, ILI9320_RGB_IF2, cfg->rgb_if2); ret = ili9320_write_regs(lcd, vgg_init1, ARRAY_SIZE(vgg_init1)); if (ret != 0) |