]> git.karo-electronics.de Git - linux-beck.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)
commit3deb649e654ff87b87de9e415ac43ca8afbdff07
treed4945843d93093636e74413894ac3451bd7314a5
parent29fa98bd9b50b5e9c17d99e961640ffafb765d71
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