mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
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 <rmk+kernel@armlinux.org.uk>
This commit is contained in:
parent
5a6cbce823
commit
0ab17499b1
1 changed files with 2 additions and 0 deletions
|
@ -171,6 +171,8 @@ static void armada_drm_unbind(struct device *dev)
|
||||||
|
|
||||||
drm_dev_unregister(&priv->drm);
|
drm_dev_unregister(&priv->drm);
|
||||||
|
|
||||||
|
drm_atomic_helper_shutdown(&priv->drm);
|
||||||
|
|
||||||
component_unbind_all(dev, &priv->drm);
|
component_unbind_all(dev, &priv->drm);
|
||||||
|
|
||||||
drm_mode_config_cleanup(&priv->drm);
|
drm_mode_config_cleanup(&priv->drm);
|
||||||
|
|
Loading…
Reference in a new issue