]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
video: exynos_dp: move disable_irq() to exynos_dp_suspend()
authorAjay Kumar <ajaykumar.rs@samsung.com>
Fri, 22 Feb 2013 00:42:38 +0000 (16:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:18 +0000 (17:22 -0800)
disable_irq() should be moved to exynos_dp_suspend(), because enable_irq()
is called at exynos_dp_resume().

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/exynos/exynos_dp_core.c

index 68385a05cee6f099e8a3e4e4d7aac4d0ac390cb8..4722234058ab8cc5d7c5b16443bd37492f05134d 100644 (file)
@@ -1126,8 +1126,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) {
@@ -1150,6 +1148,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) {