diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-17 16:54:18 +0900 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-04-08 15:20:56 +0200 |
commit | 1816cb3409f1f6909e25e52effc57857803c678c (patch) | |
tree | 9ed6caf74b54135a7a21ba579340c330d4d87229 /drivers/mfd/arizona-irq.c | |
parent | 222bc784dcdc62d9402c580502d579914dbf07bc (diff) |
mfd: arizona: Disable all wake sources by default
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/arizona-irq.c')
-rw-r--r-- | drivers/mfd/arizona-irq.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c index 2bec5f0db3ee..846262c59049 100644 --- a/drivers/mfd/arizona-irq.c +++ b/drivers/mfd/arizona-irq.c @@ -192,6 +192,9 @@ int arizona_irq_init(struct arizona *arizona) return -EINVAL; } + /* Disable all wake sources by default */ + regmap_write(arizona->regmap, ARIZONA_WAKE_CONTROL, 0); + if (arizona->pdata.irq_active_high) { ret = regmap_update_bits(arizona->regmap, ARIZONA_IRQ_CTRL_1, ARIZONA_IRQ_POL, 0); |