ARM: 7616/1: cache-l2x0: aurora: Use writel_relaxed instead of writel
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 7 Jan 2013 10:28:42 +0000 (11:28 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 7 Jan 2013 15:04:17 +0000 (15:04 +0000)
commit8a3a180d21793f2e4386b3cb61c48322564fc80a
tree4ab574bb3a8531387a21f6a63be02f9d241137a7
parent8b827c60a1d984ef8c3ed175c99a33dd451348ff
ARM: 7616/1: cache-l2x0: aurora: Use writel_relaxed instead of writel

The use of writel instead of writel_relaxed lead to deadlock in some
situation (SMP on Armada 370 for instance). The use of writel_relaxed
as it was done in the rest of this driver fixes this bug.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-l2x0.c