diff options
author | Mars Cheng <mars.cheng@mediatek.com> | 2017-03-19 18:26:24 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-04-07 12:52:17 +0300 |
commit | 5e11d16c2e45bcc4dbaf414e95365b0f6005b342 (patch) | |
tree | f4e3fb46dc7970ea6c87ad440a183bda2ad6cd3a /drivers/irqchip | |
parent | 13683f9bb6166ba0d67e8f89cad85e064032c0f8 (diff) | |
download | linux-5e11d16c2e45bcc4dbaf414e95365b0f6005b342.tar.xz |
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.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); |