From 0f931377b9d45c1f2c186288d6ad56750c9a8943 Mon Sep 17 00:00:00 2001 From: Ajay Kumar Date: Wed, 20 Feb 2013 13:13:44 +1100 Subject: [PATCH] video: exynos_dp: move disable_irq() to exynos_dp_suspend() 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 Cc: Florian Tobias Schandinat Signed-off-by: Andrew Morton --- drivers/video/exynos/exynos_dp_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/exynos/exynos_dp_core.c b/drivers/video/exynos/exynos_dp_core.c index c7374c0c1bce..de9d4da0e3da 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) { @@ -1148,6 +1146,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) { -- 2.39.5