diff options
author | Jinyoung Park <jinyoungp@nvidia.com> | 2012-04-23 18:49:33 +0900 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-05-07 16:28:19 -0700 |
commit | e0ce2e5ff81e3825b89babadd784baba96166949 (patch) | |
tree | a108b22f134476250da2edc679097253a1e636db /drivers/mfd | |
parent | 94e4c7d5f745f9fd4471796a5321f87508daba7c (diff) |
mfd: max77663: Add gpio irq masking in irq_sync_unlock
Add gpio irq masking in irq_sync_unlock.
Change-Id: I008caf58ae82d9ed888f4720f54675e9106f027d
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/98664
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/max77663-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/max77663-core.c b/drivers/mfd/max77663-core.c index dbd4fff37e75..46728c331f83 100644 --- a/drivers/mfd/max77663-core.c +++ b/drivers/mfd/max77663-core.c @@ -905,6 +905,8 @@ static void max77663_irq_sync_unlock(struct irq_data *data) irq_mask = irq_data->trigger_type; else irq_mask = GPIO_REFE_IRQ_EDGE_FALLING << shift; + } else { + irq_mask = GPIO_REFE_IRQ_NONE << shift; } ret = max77663_cache_write(chip->dev, GPIO_REG_ADDR(offset), |