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>
This commit is contained in:
Mars Cheng 2017-03-19 23:26:24 +08:00 committed by Marc Zyngier
parent 13683f9bb6
commit 5e11d16c2e

View file

@ -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);