mirror of https://gitee.com/openkylin/linux.git
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: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
parent
50fa9f0bb8
commit
8a54aa9285
|
@ -865,6 +865,8 @@ static int pdev_remove(struct platform_device *pdev)
|
|||
if (priv->fbdev)
|
||||
omap_fbdev_free(ddev);
|
||||
|
||||
drm_atomic_helper_shutdown(ddev);
|
||||
|
||||
drm_mode_config_cleanup(ddev);
|
||||
|
||||
omap_drm_irq_uninstall(ddev);
|
||||
|
|
Loading…
Reference in New Issue