OMAP: DSS2: OMAPFB: Handle errors when initializing panel
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 23 Sep 2010 08:18:44 +0000 (11:18 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 11 May 2011 11:19:25 +0000 (14:19 +0300)
commit91ac27a6879df3865e160adf979960a14f17d1aa
tree83419eca87a5624680f337e63e5911288db6b3c6
parent7a0987bf2cf2683901d0cd7f1504023da2584c5f
OMAP: DSS2: OMAPFB: Handle errors when initializing panel

Errors from the panel driver were ignored during panel initialization.
Handle the errors and fail accordingly.

Also move the display initialization to a separate function to make it
cleaner.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/omapfb/omapfb-main.c