media: omap4iss: return error code when omap4iss_get() failed
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 17 Nov 2020 02:50:41 +0000 (03:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 May 2021 08:40:25 +0000 (10:40 +0200)
commit0e892ce21316486a75f0c74bcfef4fa50a606ac3
tree9136fa47eb06f268fa146a7bfefee18052ccb1cc
parent3c0aa185aa8010553ac6546c2667c50af94c8672
media: omap4iss: return error code when omap4iss_get() failed

[ Upstream commit 8938c48fa25b491842ece9eb38f0bea0fcbaca44 ]

If omap4iss_get() failed, it need return error code in iss_probe().

Fixes: 59f0ad807681 ("[media] v4l: omap4iss: Add support for OMAP4...")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/staging/media/omap4iss/iss.c