[media] atmel-isc: fix error return code in atmel_isc_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 11 Nov 2016 13:40:20 +0000 (11:40 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 22 Nov 2016 07:40:52 +0000 (05:40 -0200)
commite04e581093d74249f27411ed95878b648b222e53
tree71a2d88da9e326a831f29fe25b766815d2b12b2f
parent820b1a93f4deb69f875f42aab5ed936cca70384f
[media] atmel-isc: fix error return code in atmel_isc_probe()

Fix to return error code -ENODEV from the error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/atmel/atmel-isc.c