From: Russell King Date: Mon, 2 Jul 2018 16:27:46 +0000 (+0100) Subject: drm/armada: add drm_atomic_helper_shutdown() call in tear-down X-Git-Tag: v5.15~5873^2~10^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ab17499b18f4b990600be177058957ab1681808;p=platform%2Fkernel%2Flinux-starfive.git drm/armada: add drm_atomic_helper_shutdown() call in tear-down Ensure that the hardware is disabled prior to tearing down the modeset support. Signed-off-by: Russell King --- diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c index e660c5c..e524bff 100644 --- a/drivers/gpu/drm/armada/armada_drv.c +++ b/drivers/gpu/drm/armada/armada_drv.c @@ -171,6 +171,8 @@ static void armada_drm_unbind(struct device *dev) drm_dev_unregister(&priv->drm); + drm_atomic_helper_shutdown(&priv->drm); + component_unbind_all(dev, &priv->drm); drm_mode_config_cleanup(&priv->drm);