aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {