]> git.baikalelectronics.ru Git - kernel.git/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)
commit500c29da3202faa625f9d29133223c641e92cbf9
tree936191d9dd7266444367a3029e121ed32665aa75
parent3812e4690cd49e1e9daedc26b4f789661dc301ac
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