]> git.karo-electronics.de Git - linux-beck.git/commit
OMAP: DSS2: OMAPFB: Check var even if there isn't memory
authorVille Syrjälä <ville.syrjala@nokia.com>
Wed, 17 Mar 2010 18:05:38 +0000 (20:05 +0200)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Tue, 3 Aug 2010 12:18:46 +0000 (15:18 +0300)
commit276a1d4337c9c261f42d5a7f813d96ca18f67c2b
tree9866eb8a7d617cdcefcff2be82bec01c5cc8fb03
parent46d3524a1b9155dd9cd57ea28e00db08c7a95c1a
OMAP: DSS2: OMAPFB: Check var even if there isn't memory

If video memory hasn't been allocate have check_fb_var() still check
most of the settings, just skip the ones involving the size of the
memory region. Also skip the memory address calculations in
omapfb_setup_overlay() if there's no memory.

Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
drivers/video/omap2/omapfb/omapfb-main.c