summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorHoegeun Kwon <hoegeun.kwon@samsung.com>2017-02-09 20:34:54 +0900
committerInki Dae <inki.dae@samsung.com>2017-02-13 15:22:16 -0800
commit2582e4d639d7c4712e4d45422f0180888516c91d (patch)
tree54cba48d7513b50fbad884d7a3ed7e63facd8cdc /drivers/gpu/drm
parentdc463ecea9d0532e8c3074c54136f2a8168aa2ce (diff)
drm/exynos: dsi: Remove bridge node reference in removaltizen/tizen
Since bridge node is referenced during in the probe, it should be released on removal. Change-Id: I54c0759098d44eff327889e6c21d6a8e585bbb38 Suggested-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_dsi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c
index 599c249a544f..30cf58931635 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c
@@ -1940,6 +1940,10 @@ err_pm:
static int exynos_dsi_remove(struct platform_device *pdev)
{
+ struct exynos_dsi *dsi = platform_get_drvdata(pdev);
+
+ of_node_put(dsi->bridge_node);
+
component_del(&pdev->dev, &exynos_dsi_component_ops);
pm_runtime_disable(&pdev->dev);