OSDN Git Service

drm/exynos: vidi: fix a wrong error return
authorInki Dae <inki.dae@samsung.com>
Thu, 18 May 2023 23:55:05 +0000 (08:55 +0900)
committerInki Dae <inki.dae@samsung.com>
Wed, 7 Jun 2023 04:03:17 +0000 (13:03 +0900)
commit4a059559809fd1ddbf16f847c4d2237309c08edf
tree54b82c0a7543ac72a3bb93d754c6bf12a28a125c
parent9561de3a55bed6bdd44a12820ba81ec416e705a7
drm/exynos: vidi: fix a wrong error return

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: Inki Dae <inki.dae@samsung.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
drivers/gpu/drm/exynos/exynos_drm_vidi.c