summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-03-23 09:24:42 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-04-13 14:54:35 +0200
commit3e31f2b9456d0777a41d9d26429d6f2ad6894014 (patch)
tree1d6a56072fe949c0ae802a3d88e57157c8c671af /drivers/media
parent[media] soc-camera: fix a recent multi-camera breakage on sh-mobile (diff)
downloadlinux-3e31f2b9456d0777a41d9d26429d6f2ad6894014.tar.xz
linux-3e31f2b9456d0777a41d9d26429d6f2ad6894014.zip
[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 = {