Commit 64f7aed8 authored by Andrzej Hajda's avatar Andrzej Hajda Committed by Inki Dae

drm/exynos: propagate plane initialization errors

In case of error during plane initialization load callback
incorrectly return success, this patch fixes it.
Signed-off-by: default avatarAndrzej Hajda <>
Signed-off-by: default avatarInki Dae <>
parent 9887e2d9
......@@ -87,8 +87,11 @@ static int exynos_drm_load(struct drm_device *dev, unsigned long flags)
plane = exynos_plane_init(dev, possible_crtcs,
if (IS_ERR(plane))
goto err_mode_config_cleanup;
if (!IS_ERR(plane))
ret = PTR_ERR(plane);
goto err_mode_config_cleanup;
/* init kms poll for handling hpd */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment