]> git.baikalelectronics.ru Git - kernel.git/commit
omapfb: suspend/resume only if FB device is already initialized
authorJouni Hogander <jouni.hogander@nokia.com>
Tue, 22 Sep 2009 23:46:58 +0000 (16:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Sep 2009 14:39:50 +0000 (07:39 -0700)
commitbbab621d44497eafc9c27774500987c7c42d3954
tree713588f83eb02bec22dfce4f6a9b9930f83ed9ce
parent1e95a6b4f5fad1cd8ccd77e9a6ff26be44e07aa9
omapfb: suspend/resume only if FB device is already initialized

Check wether fbdev is NULL in suspend / resume functions. Fbdev is
NULL, if there is no lcd or it is not enabled in configuration.

Signed-off-by: Jouni Hogander <jouni.hogander@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Imre Deak <imre.deak@nokia.com>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/omap/omapfb_main.c