aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/88pm800.c
diff options
context:
space:
mode:
authorChao Xie <chao.xie@marvell.com>2013-06-14 01:21:47 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2013-06-18 01:05:52 +0200
commitcb5c5800933d483babed13d78a53fde8c47d93c5 (patch)
tree9d3df228eeb01a9549e4492cb6fb0bf7e7bc5617 /drivers/mfd/88pm800.c
parentmfd: 88pm80x: Fix driver name for 88pm800 and 88pm805 (diff)
downloadlinux-dev-cb5c5800933d483babed13d78a53fde8c47d93c5.tar.xz
linux-dev-cb5c5800933d483babed13d78a53fde8c47d93c5.zip
mfd: 88pm800: Initialize mask_invert
mask_invert must be set otherwise interrupts cannot be cleared. Signed-off-by: Chao Xie <chao.xie@marvell.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/88pm800.c')
-rw-r--r--drivers/mfd/88pm800.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c
index 080104988d5e..cca63f255d53 100644
--- a/drivers/mfd/88pm800.c
+++ b/drivers/mfd/88pm800.c
@@ -362,6 +362,7 @@ static struct regmap_irq_chip pm800_irq_chip = {
.status_base = PM800_INT_STATUS1,
.mask_base = PM800_INT_ENA_1,
.ack_base = PM800_INT_STATUS1,
+ .mask_invert = 1,
};
static int pm800_pages_init(struct pm80x_chip *chip)