]> git.karo-electronics.de Git - linux-beck.git/commit
Input: sa1111ps2 - use disable_irq_nosync() in irq handlers
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:54 +0000 (20:41 -0700)
commite4bd3e591c8cc52ccf7a0b27f33aa7a5a19058d7
tree45288c39392bcb0f1c0993863cc3492c01109f13
parent0f751719e4e689efbe537233552e5f0529ecb8ce
Input: sa1111ps2 - use disable_irq_nosync() in irq handlers

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/serio/sa1111ps2.c