Skip to content

Commit

Permalink
V4L/DVB (10382): gspca - t613: Bad returned value when no known senso…
Browse files Browse the repository at this point in the history
…r found.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 2d56f3b commit 409b11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/t613.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 409b11d

Please sign in to comment.