Skip to content

Commit 70505c2

Browse files
Hoegeun Kwondaeinki
authored andcommitted
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>
1 parent f2921d8 commit 70505c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/gpu/drm/exynos/exynos_drm_dsi.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,6 +1805,10 @@ static int exynos_dsi_probe(struct platform_device *pdev)
18051805

18061806
static int exynos_dsi_remove(struct platform_device *pdev)
18071807
{
1808+
struct exynos_dsi *dsi = platform_get_drvdata(pdev);
1809+
1810+
of_node_put(dsi->bridge_node);
1811+
18081812
pm_runtime_disable(&pdev->dev);
18091813

18101814
component_del(&pdev->dev, &exynos_dsi_component_ops);

0 commit comments

Comments
 (0)