summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-03-23 05:24:42 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-04-13 09:54:35 -0300
commit3e31f2b9456d0777a41d9d26429d6f2ad6894014 (patch)
tree1d6a56072fe949c0ae802a3d88e57157c8c671af /drivers/media
parent24105ebc0567f2864999a8176be681c62fe31350 (diff)
[media] imx074: return a meaningful error code instead of -1
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/imx074.c2
1 files changed, 1 insertions, 1 deletions
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 = {