summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-01-22 16:53:56 +0100
committerJean-Francois Moine <moinejf@free.fr>2009-01-22 16:53:56 +0100
commitb6e6f2807f9efd8215629375465ce34edafd8fdf (patch)
tree60b0fd4fafef4d591eeb3735b7a67fe28adbbc19 /linux/drivers/media/video
parent3a14d6c633bf72b65fddd71938bd39f2cf646863 (diff)
downloadmediapointer-dvb-s2-b6e6f2807f9efd8215629375465ce34edafd8fdf.tar.gz
mediapointer-dvb-s2-b6e6f2807f9efd8215629375465ce34edafd8fdf.tar.bz2
gspca - t613: Bad returned value when no known sensor found.
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/gspca/t613.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/t613.c b/linux/drivers/media/video/gspca/t613.c
index 798a75e8e..9c777381a 100644
--- a/linux/drivers/media/video/gspca/t613.c
+++ b/linux/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) {