diff options
author | Hoegeun Kwon <hoegeun.kwon@samsung.com> | 2017-05-26 10:02:01 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2017-05-29 09:51:19 +0900 |
commit | 70505c2ef94b7584dc24d6eaaeb0fc335b99813a (patch) | |
tree | aca2149c7ced7fa18d754cfb907e9df11064141c /drivers/gpu/drm/exynos/exynos_drm_dsi.c | |
parent | f2921d8c4899a3d9d7c6326315c24efea2c9efd9 (diff) | |
download | op-kernel-dev-70505c2ef94b7584dc24d6eaaeb0fc335b99813a.zip op-kernel-dev-70505c2ef94b7584dc24d6eaaeb0fc335b99813a.tar.gz |
drm/exynos: dsi: Remove bridge node reference in removal
Since bridge node is referenced during in the probe, it should be
released on removal.
Suggested-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_dsi.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_dsi.c | 4 |
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 24ab77c..d404de8 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -1805,6 +1805,10 @@ static int exynos_dsi_probe(struct platform_device *pdev) static int exynos_dsi_remove(struct platform_device *pdev) { + struct exynos_dsi *dsi = platform_get_drvdata(pdev); + + of_node_put(dsi->bridge_node); + pm_runtime_disable(&pdev->dev); component_del(&pdev->dev, &exynos_dsi_component_ops); |