diff options
author | Mars Cheng | 2017-03-19 16:26:24 +0100 |
---|---|---|
committer | Marc Zyngier | 2017-04-07 11:52:17 +0200 |
commit | 5e11d16c2e45bcc4dbaf414e95365b0f6005b342 (patch) | |
tree | f4e3fb46dc7970ea6c87ad440a183bda2ad6cd3a /drivers/irqchip/irq-mtk-sysirq.c | |
parent | irqchip/mtk-sysirq: Extend intpol base to arbitrary number (diff) | |
download | kernel-qcow2-linux-5e11d16c2e45bcc4dbaf414e95365b0f6005b342.tar.gz kernel-qcow2-linux-5e11d16c2e45bcc4dbaf414e95365b0f6005b342.tar.xz kernel-qcow2-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/irq-mtk-sysirq.c')
-rw-r--r-- | drivers/irqchip/irq-mtk-sysirq.c | 2 |
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); |