]> git.baikalelectronics.ru Git - kernel.git/commit
[media] bdisp: fix error return code in bdisp_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 21 Sep 2016 15:09:38 +0000 (12:09 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 24 Oct 2016 19:59:40 +0000 (17:59 -0200)
commitb73ba3c7e0c961e7e6ca5bbb4f6a8ff9c664e89b
treeff5274b1ee5ab8bf7c73b63b864d033ad6058f67
parent8bb830612779b96a0266ef69cb83e8c722881389
[media] bdisp: fix error return code in bdisp_probe()

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

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/sti/bdisp/bdisp-v4l2.c