Input: sh_keysc - switch to threaded IRQ handler
authorMagnus Damm <damm@opensource.se>
Thu, 28 Apr 2011 16:34:32 +0000 (09:34 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 28 Apr 2011 16:36:48 +0000 (09:36 -0700)
commit2dfb9a85ecb86f00b085d6fca7d4bb8dc6764710
tree70faa39293e4c02d4baf9951c0f9d83a35e88b2b
parentb6d2a3e6ff6a7019b4a240b6bc4a4d74ce82d533
Input: sh_keysc - switch to threaded IRQ handler

Update the KEYSC driver to make use of threaded IRQs with IRQF_ONESHOT
to improve interrupt latency. The driver is using udelay() in the ISR
to make sure the hardware has stabilized. Without using interrupt threads
this delay may affect the latency of the rest of the system.

Also pass dev_name() as string for /proc/interrupts.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/sh_keysc.c