projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d56f3b
)
V4L/DVB (10382): gspca - t613: Bad returned value when no known sensor found.
author
Jean-Francois Moine
<moinejf@free.fr>
Thu, 22 Jan 2009 15:53:56 +0000
(12:53 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:34 +0000
(12:42 -0300)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/t613.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/t613.c
b/drivers/media/video/gspca/t613.c
index
a97920e
..
49db21e
100644
(file)
--- a/
drivers/media/video/gspca/t613.c
+++ b/
drivers/media/video/gspca/t613.c
@@
-694,7
+694,7
@@
static int sd_init(struct gspca_dev *gspca_dev)
break;
default:
PDEBUG(D_CONF, "unknown sensor %04x", sensor_id);
- return -
1
;
+ return -
EINVAL
;
}
if (sd->sensor != SENSOR_OTHER) {