]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ucb1400 - use disable_irq_nosync() in irq handler
authorBen Nizette <bn@niasdigital.com>
Sat, 18 Apr 2009 03:35:58 +0000 (20:35 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 18 Apr 2009 03:42:06 +0000 (20:42 -0700)
commite48d5a0f1200c949c03a5761651955cfde4af657
treed4945843d93093636e74413894ac3451bd7314a5
parent5ad49fe7b8a4db68f95528d3062229a2b3dd83d0
Input: ucb1400 - 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/touchscreen/ucb1400_ts.c