Skip to content

Commit

Permalink
backlight: Value of ILI9320_RGB_IF2 register should not be hardcoded
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Denis V. Lunev authored and Richard Purdie committed Jan 8, 2009
1 parent b4a11d3 commit 866bbdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/backlight/vgg2432a4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 866bbdb

Please sign in to comment.