diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-01-22 10:53:56 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:34 -0400 |
commit | 409b11dd74e653dd4dace01b0f3f8e987fe7fe81 (patch) | |
tree | e6f10d93614b2cfa3b8293689ef27fb51697be9b /drivers/media/video/gspca/t613.c | |
parent | 2d56f3bbe795b72207ec127cb3dc3b08bb4b8775 (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/t613.c')
-rw-r--r-- | drivers/media/video/gspca/t613.c | 2 |
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) { |