video: ipu_disp: Return a negative value on error
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 4 Dec 2013 12:01:54 +0000 (10:01 -0200)
committerAnatolij Gustschin <agust@denx.de>
Wed, 4 Dec 2013 12:27:55 +0000 (13:27 +0100)
commitd1486e3352c8e6b91da8e610993ea591466cb223
treebe6ba389549e7531e56e1208688bdfa415276f28
parentf44483b57c49282299da0e5c10073b909cdad979
video: ipu_disp: Return a negative value on error

We should return a negative error number (-EINVAL) on error.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
drivers/video/ipu_disp.c