Commit 8a54aa92 authored by Tomi Valkeinen's avatar Tomi Valkeinen

drm/omap: use drm_atomic_helper_shutdown()

Use drm_atomic_helper_shutdown() to ensure that all crtcs are disabled
when unloading the driver.
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 50fa9f0b
...@@ -865,6 +865,8 @@ static int pdev_remove(struct platform_device *pdev) ...@@ -865,6 +865,8 @@ static int pdev_remove(struct platform_device *pdev)
if (priv->fbdev) if (priv->fbdev)
omap_fbdev_free(ddev); omap_fbdev_free(ddev);
drm_atomic_helper_shutdown(ddev);
drm_mode_config_cleanup(ddev); drm_mode_config_cleanup(ddev);
omap_drm_irq_uninstall(ddev); omap_drm_irq_uninstall(ddev);
......
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