Input: omap-keypad - use disable_irq_nosync() in irq handler
authorBen Nizette <bn@niasdigital.com>
Sat, 18 Apr 2009 03:35:57 +0000 (20:35 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 18 Apr 2009 03:41:44 +0000 (20:41 -0700)
commit0f751719e4e689efbe537233552e5f0529ecb8ce
treee08255dc20010d49a2640e589c8ac042153795bc
parent0c387ec88abf4f1ddfe8c3be10ea981bc447b406
Input: omap-keypad - use disable_irq_nosync() in irq handler

disable_irq() waits for all running handlers to complete before
returning.  As such, if it's used to disable an interrupt from
that interrupt's handler it will deadlock.  This replaces the
dangerous instances with the _nosync() variant which doesn't have
this problem.

Signed-off-by: Ben Nizette <bn@niasdigital.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/omap-keypad.c