[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <59277FCE.9010502@samsung.com>
Date: Fri, 26 May 2017 10:07:26 +0900
From: Inki Dae <inki.dae@...sung.com>
To: Hoegeun Kwon <hoegeun.kwon@...sung.com>, jy0922.shim@...sung.com,
sw0312.kim@...sung.com, airlied@...ux.ie, kgene@...nel.org,
krzk@...nel.org, robh+dt@...nel.org, mark.rutland@....com,
catalin.marinas@....com, will.deacon@....com
Cc: javier@....samsung.com, dri-devel@...ts.freedesktop.org,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, a.hajda@...sung.com
Subject: Re: [PATCH v2] drm/exynos: dsi: Remove bridge node reference in
removal
2017년 05월 26일 10:02에 Hoegeun Kwon 이(가) 쓴 글:
> Since bridge node is referenced during in the probe, it should be
> released on removal.
>
> Suggested-by: Andrzej Hajda <a.hajda@...sung.com>
> Signed-off-by: Hoegeun Kwon <hoegeun.kwon@...sung.com>
> ---
> Hi Inki,
>
> This patch seems to have been forgotten... :)
Yeah, forgot this. Merged.
Thanks,
Inki Dae
>
> Changes for V2:
>
> - Checked for rebase 4.12-rc2
>
> Best regards,
> Hoegeun
>
> drivers/gpu/drm/exynos/exynos_drm_dsi.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c
> index 698a824..a11b795 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);
>
Powered by blists - more mailing lists