]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitc2d1c4e5b50c519a314d851a02c9bdde1ccc8d0e
tree71a2d88da9e326a831f29fe25b766815d2b12b2f
parent55eddb4a6d76de02376fd746c6d3d79edb035a4b
[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