video: ipuv3: Do not crash when no mode is found
When something is missing in the device tree or not all necessary
drivers are compiled in it may happen that no valid mode is found.
Do not crash in this case but print an error message.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4a13798 commit e8e387731b46cc0c22ef40c9247a43a71e556802
@Sascha Hauer Sascha Hauer authored on 22 Sep 2015
Showing 1 changed file
View
drivers/video/imx-ipu-v3/ipufb.c