projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
222bc78
)
mfd: arizona: Disable all wake sources by default
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 17 Jan 2013 07:54:18 +0000
(16:54 +0900)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 8 Apr 2013 13:20:56 +0000
(15:20 +0200)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/arizona-irq.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/arizona-irq.c
b/drivers/mfd/arizona-irq.c
index
2bec5f0
..
846262c
100644
(file)
--- 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);