Commit f00245c2 authored by Antti Palosaari's avatar Antti Palosaari Committed by 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: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment