提交 aa9efbc7 编写于 作者: M Mauro Carvalho Chehab

[media] dw2102: return error if su3000_power_ctrl() fails

Instead of silently ignoring the error, return it.
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 e2296021
......@@ -852,7 +852,7 @@ static int su3000_power_ctrl(struct dvb_usb_device *d, int i)
if (i && !state->initialized) {
state->initialized = 1;
/* reset board */
dvb_usb_generic_rw(d, obuf, 2, NULL, 0, 0);
return dvb_usb_generic_rw(d, obuf, 2, NULL, 0, 0);
}
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册