Commit fbe544ff authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

drm: renesas: shmobile: Shutdown the display on remove

When the device is unbound from the driver, the display may be active.
Make sure it gets shut down.
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/ddf2736459d59d0e961f240e77da7b0a28caae15.1694767209.git.geert+renesas@glider.be
parent c285aac1
......@@ -16,6 +16,7 @@
#include <linux/pm_runtime.h>
#include <linux/slab.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_drv.h>
#include <drm/drm_fbdev_generic.h>
#include <drm/drm_gem_dma_helper.h>
......@@ -172,6 +173,7 @@ static void shmob_drm_remove(struct platform_device *pdev)
struct drm_device *ddev = &sdev->ddev;
drm_dev_unregister(ddev);
drm_helper_force_disable_all(ddev);
drm_kms_helper_poll_fini(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