From e0ce2e5ff81e3825b89babadd784baba96166949 Mon Sep 17 00:00:00 2001 From: Jinyoung Park Date: Mon, 23 Apr 2012 18:49:33 +0900 Subject: 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 Reviewed-on: http://git-master/r/98664 Reviewed-by: Simone Willett Tested-by: Simone Willett --- drivers/mfd/max77663-core.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers') 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), -- cgit v1.2.3