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>
This commit is contained in:
parent
222bc784dc
commit
1816cb3409
1 changed files with 3 additions and 0 deletions
|
@ -192,6 +192,9 @@ int arizona_irq_init(struct arizona *arizona)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Disable all wake sources by default */
|
||||||
|
regmap_write(arizona->regmap, ARIZONA_WAKE_CONTROL, 0);
|
||||||
|
|
||||||
if (arizona->pdata.irq_active_high) {
|
if (arizona->pdata.irq_active_high) {
|
||||||
ret = regmap_update_bits(arizona->regmap, ARIZONA_IRQ_CTRL_1,
|
ret = regmap_update_bits(arizona->regmap, ARIZONA_IRQ_CTRL_1,
|
||||||
ARIZONA_IRQ_POL, 0);
|
ARIZONA_IRQ_POL, 0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue