Commit 9bb5b9b0 authored by Inki Dae's avatar Inki Dae Committed by sanglipeng
Browse files

drm/exynos: vidi: fix a wrong error return

stable inclusion
from stable-v5.10.186
commit 0b0fdc43b2ab7fee771da254e968b3b63e1c072a
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8J4KH

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0b0fdc43b2ab7fee771da254e968b3b63e1c072a



--------------------------------

[ Upstream commit 4a059559 ]

Fix a wrong error return by dropping an error return.

When vidi driver is remvoed, if ctx->raw_edid isn't same as fake_edid_info
then only what we have to is to free ctx->raw_edid so that driver removing
can work correctly - it's not an error case.

Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
Reviewed-by: default avatarAndi Shyti <andi.shyti@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent d6e54108
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment