提交 f00245c2 编写于 作者: A Antti Palosaari 提交者: Mauro Carvalho Chehab

[media] fc2580: add missing error status when probe() fails

We must return -ENODEV error on case probe() fails to detect chip.
Signed-off-by: NAntti Palosaari <crope@iki.fi>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 ab80b19b
......@@ -571,6 +571,7 @@ static int fc2580_probe(struct i2c_client *client,
case 0x5a:
break;
default:
ret = -ENODEV;
goto err_kfree;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部