CHROMIUM: mfd: chromeos_ec: use threaded irq for EC
authorVincent Palatin <vpalatin@chromium.org>
Wed, 16 May 2012 15:34:20 +0000 (08:34 -0700)
committerOlof Johansson <olofj@chromium.org>
Wed, 20 Jun 2012 19:07:52 +0000 (12:07 -0700)
commit16c8dd35cc74b9138da78e8575427c3c11d79df5
tree6d44d32d66a90c844f48c14079b12a2c50164cb9
parent839baf522c4c50059c9a097efbefff145c0018f6
CHROMIUM: mfd: chromeos_ec: use threaded irq for EC

It suits better the I2C-based MFD model and will let us more room to
implement IRQ muxing with an irqchip and level triggered interrupt.

The irq thread is scheduled by SCHED_FIFO which is higher priority than
SCHED_OTHER used by the current workqueue.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=chrome-os-partner:9594
TEST=on Daisy2 board, test keyboard input in ChromeOS browser.

(cherry picked from commit c370a8a7d19451adac19cb26bcef06620e2f3d3f)

Change-Id: Ieb8af462d89d792b901381d32f13c9ae28f5e48d
Reviewed-on: https://gerrit-int.chromium.org/17854
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Luigi Semenzato <semenzato@google.com>
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
drivers/input/keyboard/mkbp.c
drivers/mfd/chromeos_ec.c
include/linux/mfd/chromeos_ec.h