diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2018-07-02 17:27:46 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-05-17 12:16:32 +0100 |
commit | 0ab17499b18f4b990600be177058957ab1681808 (patch) | |
tree | b06b7fbceff28f993a9edecf6eb93957d00edec3 /drivers/gpu/drm/armada | |
parent | 5a6cbce823bfa13f4ef47049b9ba861e432d5bd2 (diff) | |
download | linux-0ab17499b18f4b990600be177058957ab1681808.tar.gz linux-0ab17499b18f4b990600be177058957ab1681808.tar.bz2 linux-0ab17499b18f4b990600be177058957ab1681808.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/armada')
-rw-r--r-- | drivers/gpu/drm/armada/armada_drv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c index e660c5ca52ae..e524bfff1c49 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); |