From: Mark Brown Date: Thu, 17 Jan 2013 07:54:18 +0000 (+0900) Subject: mfd: arizona: Disable all wake sources by default X-Git-Tag: v3.10-rc1~86^2~81 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1816cb3409f1f6909e25e52effc57857803c678c;p=platform%2Fkernel%2Flinux-3.10.git mfd: arizona: Disable all wake sources by default Signed-off-by: Mark Brown Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c index 2bec5f0..846262c 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);