mfd: Add fast path for WM831x touchscreen interrupts
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 1 Feb 2011 11:46:13 +0000 (11:46 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 23 Mar 2011 09:41:46 +0000 (10:41 +0100)
commit8546bd4af1251d17d16b0ef682d84fd23c8beaca
treef032524ccacd1b9df03f499e4e94ac5a4dd9ce78
parent87d1906df4ecf6df0832e78e5189a39c7ea09a29
mfd: Add fast path for WM831x touchscreen interrupts

The WM831x interrupt controller provides reporting of the touchscreen
related interrupts in the primary interrupt status register as a
performance optimisation - use this to avoid reading the secondary
status registers for those interrupts.

For code simplicity and to avoid iterating over all interrupts we open
code for the two affected interrupt sources.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm831x-irq.c