mfd: palma: configure for set irq wake
Laxman Dewangan [Thu, 27 Sep 2012 13:40:19 +0000 (18:40 +0530)]
Configure the Palma IRQs for wake source.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/139392
(cherry picked from commit 43fedbefd347d8ea28598d7f1079520ad75124e9)

Change-Id: I837ee06a70eaf709b1e9a76d76ebc203231087df
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/146383
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

drivers/mfd/palmas.c

index 8c66ae9..d55421d 100644 (file)
@@ -310,6 +310,7 @@ static struct regmap_irq_chip palmas_irq_chip = {
                        PALMAS_INT1_STATUS),
        .mask_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE,
                        PALMAS_INT1_MASK),
+       .wake_base = 1,
 };
 
 struct palmas_sleep_requestor_info {