From patchwork Thu Oct 4 15:42:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 1544981 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 6052FDFFCF for ; Thu, 4 Oct 2012 07:24:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752898Ab2JDHYs (ORCPT ); Thu, 4 Oct 2012 03:24:48 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:33845 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752593Ab2JDHYn (ORCPT ); Thu, 4 Oct 2012 03:24:43 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MBC00CTLXVK9PN0@mailout4.samsung.com> for linux-media@vger.kernel.org; Thu, 04 Oct 2012 16:24:43 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id F2.59.03860.BB93D605; Thu, 04 Oct 2012 16:24:43 +0900 (KST) X-AuditID: cbfee61b-b7f2b6d000000f14-17-506d39bb3884 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 72.59.03860.AB93D605; Thu, 04 Oct 2012 16:24:42 +0900 (KST) Received: from localhost.localdomain ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MBC006I9XWMLU10@mmp2.samsung.com> for linux-media@vger.kernel.org; Thu, 04 Oct 2012 16:24:42 +0900 (KST) From: Rahul Sharma To: linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Cc: t.stanislaws@samsung.com, inki.dae@samsung.com, kyungmin.park@samsung.com, joshi@samsung.com Subject: [PATCH v1 05/14] drm: exynos: hdmi: turn off HPD interrupt in HDMI chip Date: Thu, 04 Oct 2012 21:12:43 +0530 Message-id: <1349365372-21417-6-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.0.4 In-reply-to: <1349365372-21417-1-git-send-email-rahul.sharma@samsung.com> References: <1349365372-21417-1-git-send-email-rahul.sharma@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrNLMWRmVeSWpSXmKPExsWyRsSkVne3ZW6AwZtN7BY9G7ayOjB6fN4k F8AYxWWTkpqTWZZapG+XwJUxef9d9oL5nBUdp+8wNzB+Ze9i5OSQEDCROLfvGZQtJnHh3nq2 LkYuDiGBpYwSt47vhSs6PO06C0RiOqPEpc8LoaqWM0n0/D/CClLFJqArMfvgM0YQW0TAVWLr lptgNrNAksT3n5OYQGxhgQCJNa1HwKayCKhK3Fs0kxnE5hXwkHixYwUrxDYFidZlh4BqODg4 BTwljvxMBAkLAZVM+tDBCtEqIPFt8iEWkBIJAVmJTQeYQc6RELjMJnH3YBMbxBhJiYMrbrBM YBRewMiwilE0tSC5oDgpPddIrzgxt7g0L10vOT93EyMwBE//eya9g3FVg8UhRgEORiUeXotJ OQFCrIllxZW5hxglOJiVRHg3K+YGCPGmJFZWpRblxxeV5qQWH2L0AbpkIrOUaHI+MD7ySuIN jU3MTY1NLY2MzExNcQgrifM2e6QECAmkJ5akZqemFqQWwYxj4uCUamAsOn/mYu+SZ18Pqxfk KbPuVzJcHrZufTwzszrTv9VzKh6bxC+cu3b1zIiEi/wnZn/ztXg776fdj1XTFc4JX1qdUWe2 6Zdz3QFjK8GY7eJXuAJ7Kw2X8fhwT43cHyR2YK/AzW/C7L+8olpjBNT9pZlNah1XfDi3xGB9 1DqXH5k+Z7JLbdfV54cosRRnJBpqMRcVJwIAkKCqJG4CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupikeLIzCtJLcpLzFFi42I5/e+xoO4uy9wAg92nbSx6NmxldWD0+LxJ LoAxqoHRJiM1MSW1SCE1Lzk/JTMv3VbJOzjeOd7UzMBQ19DSwlxJIS8xN9VWycUnQNctMwdo qpJCWWJOKVAoILG4WEnfDtOE0BA3XQuYxghd35AguB4jAzSQsIYxY/L+u+wF8zkrOk7fYW5g /MrexcjJISFgInF42nUWCFtM4sK99WxdjFwcQgLTGSUufV4I5Sxnkuj5f4QVpIpNQFdi9sFn jCC2iICrxNYtN8FsZoEkie8/JzGB2MICARJrWo+AbWARUJW4t2gmM4jNK+Ah8WLHClaIbQoS rcsOAdVwcHAKeEoc+ZkIEhYCKpn0oYN1AiPvAkaGVYyiqQXJBcVJ6blGesWJucWleel6yfm5 mxjBAf5MegfjqgaLQ4wCHIxKPLwWk3IChFgTy4orcw8xSnAwK4nwblbMDRDiTUmsrEotyo8v Ks1JLT7E6AN01ERmKdHkfGD05ZXEGxqbmJsam1qaWJiYWeIQVhLnbfZICRASSE8sSc1OTS1I LYIZx8TBKdXAyP1jV8Tbd0vkX9q0XV8UlRYk+uELv3JaiaIBz91buhOmy4VMe5mYzzDHbblp kuSfo8tX7HGx+e+UMfWeblvlvNTgRHWlCZfWTuA5GJ/8bkaPwt+9N9RSU68uiw9MOdglorew JlKj9c1Z9wfLOpqE2AvtbRWZj76UnfTg39Y/hs1nogv66nhalViKMxINtZiLihMBqVfP250C AAA= X-CFilter-Loop: Reflected Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Tomasz Stanislawski The plug/unplug interrupt are handled by a separate interrupt. So there is no need to replicate this mechanism in HDMI core. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_hdmi.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 90dce8c..e3ab840 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -1532,12 +1532,9 @@ static void hdmi_conf_reset(struct hdmi_context *hdata) static void hdmi_conf_init(struct hdmi_context *hdata) { - /* enable HPD interrupts */ + /* disable HPD interrupts */ hdmi_reg_writemask(hdata, HDMI_INTC_CON, 0, HDMI_INTC_EN_GLOBAL | HDMI_INTC_EN_HPD_PLUG | HDMI_INTC_EN_HPD_UNPLUG); - mdelay(10); - hdmi_reg_writemask(hdata, HDMI_INTC_CON, ~0, HDMI_INTC_EN_GLOBAL | - HDMI_INTC_EN_HPD_PLUG | HDMI_INTC_EN_HPD_UNPLUG); /* choose HDMI mode */ hdmi_reg_writemask(hdata, HDMI_MODE_SEL,