[COMMON] irqchip: gic: map irq_enable/irq_disable to gic_unmask_irq/gic_mask_irq
authorEunki Kim <eunki_kim@samsung.com>
Fri, 14 Feb 2014 06:00:48 +0000 (15:00 +0900)
committerJaehyoung Choi <jkkkkk.choi@samsung.com>
Mon, 14 May 2018 05:04:20 +0000 (14:04 +0900)
commit146bc06f65a3c7070d7c3236986d5dee10bd89fe
treeb1019b3c8582c1b7f37bd7a0da2eb9b76209301c
parent3471bd9998c29d8b5ab73c8e5a2f8ab3767cfca0
[COMMON] irqchip: gic: map irq_enable/irq_disable to gic_unmask_irq/gic_mask_irq

It's possible to occur the spurious interrupt from the device.
However, it could be problem when it used for level interrupt.
This patch declares irq_disable to mask_irq in order to prevent
from the spurious interrupts and does irq_enable to unmak_irq
pairly.

Change-Id: Iec8de4232f67d2f9ab8762b481c2e4049bf7898c
Signed-off-by: Eunki Kim <eunki_kim@samsung.com>
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
drivers/irqchip/irq-gic.c