aboutsummaryrefslogtreecommitdiffstats
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 a97920eb03f9..49db21e1376c 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)
694 break; 694 break;
695 default: 695 default:
696 PDEBUG(D_CONF, "unknown sensor %04x", sensor_id); 696 PDEBUG(D_CONF, "unknown sensor %04x", sensor_id);
697 return -1; 697 return -EINVAL;
698 } 698 }
699 699
700 if (sd->sensor != SENSOR_OTHER) { 700 if (sd->sensor != SENSOR_OTHER) {