]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Fix off by one in WM831x IRQ code
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Tue, 21 Jun 2011 23:23:08 +0000 (00:23 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 31 Jul 2011 21:28:24 +0000 (23:28 +0200)
commitd512c6b57e260eca90eb6f5355ba57ec71f0884a
treedb99a1a5ed97be52334ac06f0525b2a3bb5d52e9
parent3050111a4aa0b34133449e1b8f430aa2dbad65f7
mfd: Fix off by one in WM831x IRQ code

The GPIO IRQs aren't the first IRQs defined, we need to subtract the base
for the GPIOs as well to use them for array indexes.

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