]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] OMAP2xxx clock: consolidate DELAYED_APP clock commits; fix barrier
authorPaul Walmsley <paul@pwsan.com>
Wed, 28 Jan 2009 19:35:03 +0000 (12:35 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Feb 2009 17:50:44 +0000 (17:50 +0000)
commit439764cc18beb20ef409991e75e29b460db71d33
tree6ae4c648bfe34c3f511fef89282f10efe69ca48b
parentde07fedd79999668c4c112a2ba3eaf3d7434235c
[ARM] 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.

linux-omap source commit is 0f5bdb736515801b296125d16937a21ff7b3cfdc.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap2/clock.c