]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bus: omap_l3_noc: switch over to relaxed variants of readl/writel
authorNishanth Menon <nm@ti.com>
Fri, 11 Apr 2014 16:21:47 +0000 (11:21 -0500)
committerNishanth Menon <nm@ti.com>
Mon, 5 May 2014 19:33:01 +0000 (14:33 -0500)
commit9e224c8ff19e4c4a9c9272171d5a0169d5cb1bef
tree0fe14e60cea7421c84523de400ce17ba5de11bdc
parentca6a34935c2c95482b901d76116f785ea356412c
bus: omap_l3_noc: switch over to relaxed variants of readl/writel

Currently we use __raw_readl and writel in this driver. Considering
there is no specific need for a memory barrier, replacing writel
with endian-neutral writel_relaxed and replacing __raw_readls with
the corresponding endian-neutral readl_relaxed allows us to have a
standard set of register operations for the driver.

While at it, simplify address computation using variables for
register.

Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Darren Etheridge <detheridge@ti.com>
Tested-by: Sekhar Nori <nsekhar@ti.com>
drivers/bus/omap_l3_noc.c