]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
OMAP2xxx clock: consolidate DELAYED_APP clock commits; fix barrier
authorPaul Walmsley <paul@pwsan.com>
Wed, 7 Jan 2009 15:23:45 +0000 (17:23 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 7 Jan 2009 15:23:45 +0000 (17:23 +0200)
commit0f5bdb736515801b296125d16937a21ff7b3cfdc
tree773150677769854241593073520eb3f248a277a3
parentf4aacad2c0ed1055622d5c1e910befece24ef0e2
OMAP2xxx clock: consolidate DELAYED_APP clock commits; fix barrier

Consolidate the commit code for DELAYED_APP clocks into a subroutine,
_omap2xxx_clk_commit().  Also convert the MPU barrier wmb() into an
OCP barrier, since with an MPU barrier, we have no guarantee that the
write actually reached the endpoint device.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.c