]> git.karo-electronics.de Git - mv-sheeva.git/commit
OMAP: DSS2: OMAPFB: Fix invalid bpp for PAL and NTSC modes
authorMaurus Cuelenaere <mcuelenaere@gmail.com>
Wed, 21 Jul 2010 22:40:58 +0000 (00:40 +0200)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Thu, 5 Aug 2010 13:52:16 +0000 (16:52 +0300)
commite8c66dcf5aa8df2d1b1f249519c920d3a45dd613
tree0ff59390ed231bd18f2da86b6f6c1e7eaf3295fa
parente26ed44c950ed9d1feb7719100f475e4e80f1419
OMAP: DSS2: OMAPFB: Fix invalid bpp for PAL and NTSC modes

omapfb_mode_to_timings() sets the bpp to 0 when bootarg omapfb.mode is set to
either "pal" or "ntsc". This patch corrects this by setting the bpp to 24, as
would be done if omapdss_default_get_recommended_bpp() would be called.

Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
drivers/video/omap2/omapfb/omapfb-main.c