From patchwork Tue Jan 29 07:38:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2059961 Return-Path: X-Original-To: patchwork-linux-fbdev@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 43F6FDF23E for ; Tue, 29 Jan 2013 07:38:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754437Ab3A2Hif (ORCPT ); Tue, 29 Jan 2013 02:38:35 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:17179 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754422Ab3A2Hie (ORCPT ); Tue, 29 Jan 2013 02:38:34 -0500 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MHD00HB7MK3TGV0@mailout1.samsung.com> for linux-fbdev@vger.kernel.org; Tue, 29 Jan 2013 16:38:33 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.48]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 96.45.03918.97C77015; Tue, 29 Jan 2013 16:38:33 +0900 (KST) X-AuditID: cbfee61a-b7f7d6d000000f4e-8d-51077c798042 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id E5.45.03918.97C77015; Tue, 29 Jan 2013 16:38:33 +0900 (KST) Received: from DOJG1HAN02 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MHD00CKSMK89JH0@mmp1.samsung.com> for linux-fbdev@vger.kernel.org; Tue, 29 Jan 2013 16:38:33 +0900 (KST) From: Jingoo Han To: 'Florian Tobias Schandinat' Cc: linux-fbdev@vger.kernel.org, 'Ajay Kumar' , 'Jingoo Han' References: <00cb01cdfdf3$4ccdac00$e6690400$%han@samsung.com> In-reply-to: <00cb01cdfdf3$4ccdac00$e6690400$%han@samsung.com> Subject: [PATCH 2/2] video: exynos_dp: move disable_irq() to exynos_dp_suspend() Date: Tue, 29 Jan 2013 16:38:32 +0900 Message-id: <00cc01cdfdf3$a39dcb00$ead96100$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac3980yxCRisXOzGT5GRKvJhwRF9kwAAAnlA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrDIsWRmVeSWpSXmKPExsVy+t8zA93KGvZAg553vBYn+j6wOjB6fN4k F8AYxWWTkpqTWZZapG+XwJXRMmUSU8EGroot3ScZGxgfcXQxcnJICJhIXD/3khXCFpO4cG89 WxcjF4eQwDJGic93LzPCFHWtugKVWMQo8ezALFYIZxaTRN+DT+wgVWwCahJfvhwGsjk4RASs JDZt1QQxmQXyJF78UwGpEBKwlZj3/isbiM0pYCfxZM9JsMXCAgESz369B4uzCKhKLJqxAczm Bapv+r4ZyhaU+DH5HguIzSygJbF+53EmCFteYvOat8wgqyQE1CUe/dUFCYsIGEmsvjyNHaJE RGLfi3eMIBdLCCxil9i2aB4jxC4BiW+TD7FA9MpKbDrADPGupMTBFTdYJjBKzEKyeRaSzbOQ bJ6FZMUCRpZVjKKpBckFxUnpuYZ6xYm5xaV56XrJ+bmbGCFxJbWDcWWDxSFGAQ5GJR7ehgVs gUKsiWXFlbmHGCU4mJVEeCNL2AOFeFMSK6tSi/Lji0pzUosPMSYDHTuRWUo0OR8Y83kl8YbG xiZmJqYm5pam5qakCSuJ8zKeehIgJJCeWJKanZpakFoEs4WJg1OqgXGGrKHR+p3frGMZzE9e jkt3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000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org From: Ajay Kumar disable_irq() should be moved to exynos_dp_suspend(), because enable_irq() is called at exynos_dp_resume(). Signed-off-by: Ajay Kumar Signed-off-by: Jingoo Han --- drivers/video/exynos/exynos_dp_core.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/video/exynos/exynos_dp_core.c b/drivers/video/exynos/exynos_dp_core.c index c7374c0..9ba973a 100644 --- a/drivers/video/exynos/exynos_dp_core.c +++ b/drivers/video/exynos/exynos_dp_core.c @@ -1124,8 +1124,6 @@ static int exynos_dp_remove(struct platform_device *pdev) struct exynos_dp_platdata *pdata = pdev->dev.platform_data; struct exynos_dp_device *dp = platform_get_drvdata(pdev); - disable_irq(dp->irq); - flush_work(&dp->hotplug_work); if (pdev->dev.of_node) { @@ -1138,7 +1136,6 @@ static int exynos_dp_remove(struct platform_device *pdev) clk_disable_unprepare(dp->clock); - return 0; } @@ -1148,6 +1145,8 @@ static int exynos_dp_suspend(struct device *dev) struct exynos_dp_platdata *pdata = dev->platform_data; struct exynos_dp_device *dp = dev_get_drvdata(dev); + disable_irq(dp->irq); + flush_work(&dp->hotplug_work); if (dev->of_node) {