From: Guennadi Liakhovetski Date: Wed, 23 Mar 2011 08:24:42 +0000 (-0300) Subject: [media] imx074: return a meaningful error code instead of -1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3e31f2b9456d0777a41d9d26429d6f2ad6894014;p=linux-beck.git [media] imx074: return a meaningful error code instead of -1 Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/imx074.c b/drivers/media/video/imx074.c index 1a1169115716..0382ea752e6f 100644 --- a/drivers/media/video/imx074.c +++ b/drivers/media/video/imx074.c @@ -298,7 +298,7 @@ static unsigned long imx074_query_bus_param(struct soc_camera_device *icd) static int imx074_set_bus_param(struct soc_camera_device *icd, unsigned long flags) { - return -1; + return -EINVAL; } static struct soc_camera_ops imx074_ops = {