]> 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)
commit62e3a587200b7085bb8c6295cb9b0be1e5b5bb02
tree71a2d88da9e326a831f29fe25b766815d2b12b2f
parent3ba4922b1a124fcbcb8806089fbbbdbd24091a95
[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