aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-01-22 12:53:56 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 12:42:34 -0300
commit409b11dd74e653dd4dace01b0f3f8e987fe7fe81 (patch)
treee6f10d93614b2cfa3b8293689ef27fb51697be9b /drivers/media/video/gspca
parent2d56f3bbe795b72207ec127cb3dc3b08bb4b8775 (diff)
V4L/DVB (10382): gspca - t613: Bad returned value when no known sensor found.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca')
-rw-r--r--drivers/media/video/gspca/t613.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/t613.c b/drivers/media/video/gspca/t613.c
index a97920eb03f..49db21e1376 100644
--- 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) {