Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f00245c2 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

[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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -571,6 +571,7 @@ static int fc2580_probe(struct i2c_client *client,
	case 0x5a:
		break;
	default:
		ret = -ENODEV;
		goto err_kfree;
	}