]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite2897ed8b5c8f5198509cdcb6e5b78ddbcd0c134
tree8c1b2f53f0ae2e655da14148c6370af927dd5fd9
parent81644ffb54665997dfef8b82e0ecfcab8f4d6556
[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