提交 409b11dd 编写于 作者: J Jean-Francois Moine 提交者: Mauro Carvalho Chehab

V4L/DVB (10382): gspca - t613: Bad returned value when no known sensor found.

Signed-off-by: NJean-Francois Moine <moinejf@free.fr>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 2d56f3bb
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册