Input: wm97xx - use disable_irq_nosync() for Mainstone
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 4 Mar 2009 09:12:49 +0000 (01:12 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 8 Mar 2009 23:35:10 +0000 (16:35 -0700)
This should make no practical difference since the Mainstone can't be
SMP but it is more correct.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/mainstone-wm97xx.c

index 1d11e2be9ef823ff3cb0076dc409e6f18f56224e..08d3dbd4ba2916656d2d9466cee2099a8bcef16c 100644 (file)
@@ -245,7 +245,7 @@ static void wm97xx_irq_enable(struct wm97xx *wm, int enable)
        if (enable)
                enable_irq(wm->pen_irq);
        else
-               disable_irq(wm->pen_irq);
+               disable_irq_nosync(wm->pen_irq);
 }
 
 static struct wm97xx_mach_ops mainstone_mach_ops = {