Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941360AbcJSOTP (ORCPT ); Wed, 19 Oct 2016 10:19:15 -0400 Received: from mail-qk0-f193.google.com ([209.85.220.193]:33377 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941346AbcJSOTM (ORCPT ); Wed, 19 Oct 2016 10:19:12 -0400 MIME-Version: 1.0 In-Reply-To: <1476871456-1098-1-git-send-email-arvind.yadav.cs@gmail.com> References: <1476871456-1098-1-git-send-email-arvind.yadav.cs@gmail.com> From: Inki Dae Date: Wed, 19 Oct 2016 23:18:31 +0900 Message-ID: Subject: Re: [PATCH V2] gpu/drm/exynos/exynos_hdmi - Unmap region obtained by of_iomap To: Arvind Yadav Cc: Dave Airlie , krzk@kernel.org, Kukjin Kim , "linux-samsung-soc@vger.kernel.org" , Seung-Woo Kim , "linux-kernel@vger.kernel.org" , DRI mailing list , Kyungmin Park , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1343 Lines: 43 Will pick it up soon. Thanks, Inki Dae 2016-10-19 19:04 GMT+09:00 Arvind Yadav : > Free memory mapping, if hdmi_probe is not successful. > > Signed-off-by: Arvind Yadav > --- > drivers/gpu/drm/exynos/exynos_hdmi.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c > index 2275efe..ba28dec 100644 > --- a/drivers/gpu/drm/exynos/exynos_hdmi.c > +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c > @@ -1901,6 +1901,8 @@ err_disable_pm_runtime: > err_hdmiphy: > if (hdata->hdmiphy_port) > put_device(&hdata->hdmiphy_port->dev); > + if (hdata->regs_hdmiphy) > + iounmap(hdata->regs_hdmiphy); > err_ddc: > put_device(&hdata->ddc_adpt->dev); > > @@ -1923,6 +1925,9 @@ static int hdmi_remove(struct platform_device *pdev) > if (hdata->hdmiphy_port) > put_device(&hdata->hdmiphy_port->dev); > > + if (hdata->regs_hdmiphy) > + iounmap(hdata->regs_hdmiphy); > + > put_device(&hdata->ddc_adpt->dev); > > return 0; > -- > 1.7.9.5 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel