OMAP: DSS2: OMAPFB: fix crash when panel driver was not loaded
authorTomi Valkeinen <tomi.valkeinen@nokia.com>
Thu, 7 Jan 2010 15:45:03 +0000 (17:45 +0200)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Tue, 12 Jan 2010 10:10:55 +0000 (12:10 +0200)
commit807a7515aea421f2b340140482ed4c8811c523c6
treef8ab9e4a19ad7dbf072303b7b3cbda2b3a6f6fe0
parent2d9c5597ad1408885fdef5838aa27a8a0ee9e915
OMAP: DSS2: OMAPFB: fix crash when panel driver was not loaded

If the panel's probe had failed, omapfb would still go on, eventually
crashing.

A better fix would be to handle each display properly, and leaving just
the failed display out. But that is a bigger change.

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