summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorMars Cheng <mars.cheng@mediatek.com>2017-03-19 16:26:24 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2017-04-07 11:52:17 +0200
commit5e11d16c2e45bcc4dbaf414e95365b0f6005b342 (patch)
treef4e3fb46dc7970ea6c87ad440a183bda2ad6cd3a /drivers/irqchip
parentirqchip/mtk-sysirq: Extend intpol base to arbitrary number (diff)
downloadlinux-5e11d16c2e45bcc4dbaf414e95365b0f6005b342.tar.xz
linux-5e11d16c2e45bcc4dbaf414e95365b0f6005b342.zip
irqchip/mtk-sysirq: Remove unnecessary barrier when configuring trigger
This prevent unnecessary visibility when configuring trigger type Signed-off-by: Mars Cheng <mars.cheng@mediatek.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/irqchip')
-rw-r--r--drivers/irqchip/irq-mtk-sysirq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-mtk-sysirq.c b/drivers/irqchip/irq-mtk-sysirq.c
index 9ba969cfad81..eeac512ec5a8 100644
--- a/drivers/irqchip/irq-mtk-sysirq.c
+++ b/drivers/irqchip/irq-mtk-sysirq.c
@@ -57,7 +57,7 @@ static int mtk_sysirq_set_type(struct irq_data *data, unsigned int type)
value &= ~(1 << offset);
}
- writel(value, base + reg_index * 4);
+ writel_relaxed(value, base + reg_index * 4);
data = data->parent_data;
ret = data->chip->irq_set_type(data, type);