mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-25 02:48:21 +00:00
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>
This commit is contained in:
parent
2d56f3bbe7
commit
409b11dd74
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user