[media] c8sectpfe: fix error return code in c8sectpfe_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Sun, 30 Oct 2016 01:53:10 +0000 (23:53 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 21 Nov 2016 13:41:43 +0000 (11:41 -0200)
commit21098562a41ce24af1e105dc96179260ebcc980c
tree8c1b2f53f0ae2e655da14148c6370af927dd5fd9
parent1f5ecaf985c46889278f51fcb7bc143f60f4eb14
[media] c8sectpfe: fix error return code in c8sectpfe_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>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c