From: Mars Cheng Date: Sun, 19 Mar 2017 15:26:24 +0000 (+0800) Subject: irqchip/mtk-sysirq: Remove unnecessary barrier when configuring trigger X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5e11d16c2e45bcc4dbaf414e95365b0f6005b342;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git irqchip/mtk-sysirq: Remove unnecessary barrier when configuring trigger This prevent unnecessary visibility when configuring trigger type Signed-off-by: Mars Cheng Signed-off-by: Marc Zyngier --- 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);