projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24105eb
)
[media] imx074: return a meaningful error code instead of -1
author
Guennadi Liakhovetski
<g.liakhovetski@gmx.de>
Wed, 23 Mar 2011 08:24:42 +0000
(
05:24
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 13 Apr 2011 12:54:35 +0000
(09:54 -0300)
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/imx074.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/imx074.c
b/drivers/media/video/imx074.c
index 1a116911571629f3942436c7a407a2512a06870b..0382ea752e6fb0015119b5a30656f5e34d59ad41 100644
(file)
--- 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 = {