Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965208AbcJQLf0 (ORCPT ); Mon, 17 Oct 2016 07:35:26 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:10066 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933887AbcJQLfQ (ORCPT ); Mon, 17 Oct 2016 07:35:16 -0400 X-AuditID: cbfec7f4-f791c6d000006eac-59-5804b7292ae3 Subject: Re: [PATCH] crygpu/drm/exynos/exynos_hdmi - Unmap region obtained by of_iomap To: Arvind Yadav , airlied@linux.ie, krzk@kernel.org, kgene@kernel.org Cc: inki.dae@samsung.com, jy0922.shim@samsung.com, sw0312.kim@samsung.com, kyungmin.park@samsung.com, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org From: Andrzej Hajda Message-id: <0147af61-e96e-ba43-55b9-6a58a1539666@samsung.com> Date: Mon, 17 Oct 2016 13:33:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-version: 1.0 In-reply-to: <1476702562-24422-1-git-send-email-arvind.yadav.cs@gmail.com> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCKsWRmVeSWpSXmKPExsWy7djPc7qa21kiDC7NlLfoPXeSyeJa70Jm iytf37NZTLo/gcXixb2LLBb9j18zW5w/v4Hd4mzTG3aLTY+vsVpc3jWHzWLG+X1MFjMmv2Rz 4PHYOesuu8emVZ1sHtu/PWD1uN99nMlj85J6j74tqxg9Pm+SC2CP4rJJSc3JLEst0rdL4Mro +cZecJut4uGOTUwNjEdZuxg5OSQETCTuts1hg7DFJC7cWw9kc3EICSxllNix9DMLhPOZUWLZ uzdsMB0nlu6GqlrGKHGs8yIrhPOMUaLp2WJGkCphgQiJ5y0LWUBsEYF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Er83XwTbCivgJ3Ejumf wRazCKhKbL32HmymKNDMWw87WCBqBCV+TL4HZnMKeEnc2fucFWQXs4CexP2LWhDj5SU2r3nL PIFRYBaSjlkIVbOQVC1gZF7FKJJaWpybnltsqFecmFtcmpeul5yfu4kRGJnbjv3cvIPx0sbg Q4wCHIxKPLw35jNFCLEmlhVX5h5ilOBgVhLhVVvDEiHEm5JYWZValB9fVJqTWnyI0RTohYnM UqLJ+cCkkVcSb2hiaG5paGRsYWFuZKQkzlvy4Uq4kEB6YklqdmpqQWoRTB8TB6dUA2N1zNFS j+hvP6aU9zJZyfp8WmBbciFBx0DS3vZEg+n3X4qR1fOzhRaKlSn6iXdOiFp2ykni6N9nf8p0 yib1yxWU60o1H1RNvfkq6/53/Rl9X6dnLpyxao+s3PNZfyNW/fA+vlrNeSnnW1FxB/7Tqo08 Yvxbv60MV9QPV+p5xiSns7tyv8YtBSWW4oxEQy3mouJEADSmMCDiAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20161017113400eucas1p17244a339aa3cb55e5ff9e7e93fd21548 X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRvsgrw=?= =?UTF-8?B?7ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRtTYW1z?= =?UTF-8?B?dW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20161017111000eucas1p13f38f6daa20992f6aa3c9dfc8d2ab495 X-RootMTR: 20161017111000eucas1p13f38f6daa20992f6aa3c9dfc8d2ab495 References: <1476702562-24422-1-git-send-email-arvind.yadav.cs@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 825 Lines: 34 Hi, On 17.10.2016 13:09, Arvind Yadav wrote: > Free memory mapping, if hdmi_probe is not successful. > > Signed-off-by: Arvind Yadav Subject prefix is incorrect. > --- > drivers/gpu/drm/exynos/exynos_hdmi.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c > index 2275efe..9b7857b 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); Thats OK, you can add also unmap to hdmi_remove. Regards Andrzej > err_ddc: > put_device(&hdata->ddc_adpt->dev); >