]> err.no Git - linux-2.6/commit
Input: wm97xx-core - only schedule interrupt handler if not already scheduled
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 17 Apr 2008 13:24:39 +0000 (09:24 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 17 Apr 2008 13:24:39 +0000 (09:24 -0400)
commitd808fbe5b404854374917bd0d1db937a0a524665
tree936191d9dd7266444367a3029e121ed32665aa75
parent4db8a5f21e5149e09949516eef98b78b68880075
Input: wm97xx-core - only schedule interrupt handler if not already scheduled

As well as clarifying the fact that the driver can cope if a second
interrupt occurs before the IRQ work is scheduled this also ensures
that calls to the machine irq_enable() are balanced, making that easier
to implement.  Normally this is redundant due to the interrupt disabling
but some unusal board configurations can trigger it.

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