]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit03ae49e9d551e2e1682dc7f2359f6f363cae8b8a
treee08255dc20010d49a2640e589c8ac042153795bc
parent2182e5fc2b6aad4f799ad6e465e8105746a63228
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