Input: bf54x-keys - fix system hang when pressing a key
authorMike Frysinger <vapier@gentoo.org>
Wed, 10 Mar 2010 04:38:45 +0000 (20:38 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 10 Mar 2010 06:09:07 +0000 (22:09 -0800)
commit9e49f6c1339a7972e23a335c4c71a289b4c6f65b
tree4ebea300fef2a2457bbb0a4bb26e60c4b62de3f7
parenteb8bff85c5bd5caef7c374ff32b86545029efb56
Input: bf54x-keys - fix system hang when pressing a key

We need to use the nosync version of disable_irq so that we don't hang in
the IRQ handler as we don't ACK the interrupt until later.  This used to
work regardless, but at some point, the IRQ behavior changed.  Not sure
when exactly.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/bf54x-keys.c