diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-03-23 11:24:42 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-04-13 16:54:35 +0400 |
commit | 3e31f2b9456d0777a41d9d26429d6f2ad6894014 (patch) | |
tree | 1d6a56072fe949c0ae802a3d88e57157c8c671af /drivers/media | |
parent | 24105ebc0567f2864999a8176be681c62fe31350 (diff) | |
download | linux-3e31f2b9456d0777a41d9d26429d6f2ad6894014.tar.xz |
[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.c | 2 |
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 = { |