aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/omapdrm/dss/dsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/dsi.c b/drivers/gpu/drm/omapdrm/dss/dsi.c
index 277f9dd2ec8c..b5685018d830 100644
--- a/drivers/gpu/drm/omapdrm/dss/dsi.c
+++ b/drivers/gpu/drm/omapdrm/dss/dsi.c
@@ -5104,8 +5104,6 @@ static void dsi_unbind(struct device *dev, struct device *master, void *data)
5104 dss_debugfs_remove_file(dsi->debugfs.irqs); 5104 dss_debugfs_remove_file(dsi->debugfs.irqs);
5105 dss_debugfs_remove_file(dsi->debugfs.regs); 5105 dss_debugfs_remove_file(dsi->debugfs.regs);
5106 5106
5107 of_platform_depopulate(dev);
5108
5109 WARN_ON(dsi->scp_clk_refcount > 0); 5107 WARN_ON(dsi->scp_clk_refcount > 0);
5110 5108
5111 dss_pll_unregister(&dsi->pll); 5109 dss_pll_unregister(&dsi->pll);
@@ -5457,6 +5455,8 @@ static int dsi_remove(struct platform_device *pdev)
5457 5455
5458 dsi_uninit_output(dsi); 5456 dsi_uninit_output(dsi);
5459 5457
5458 of_platform_depopulate(&pdev->dev);
5459
5460 pm_runtime_disable(&pdev->dev); 5460 pm_runtime_disable(&pdev->dev);
5461 5461
5462 if (dsi->vdds_dsi_reg != NULL && dsi->vdds_dsi_enabled) { 5462 if (dsi->vdds_dsi_reg != NULL && dsi->vdds_dsi_enabled) {