]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] omap: move propagate_rate() calls into generic omap clock code
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 13 Nov 2008 13:44:15 +0000 (13:44 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Feb 2009 17:50:11 +0000 (17:50 +0000)
commit9a5fedac187f30116013a8420149d4ca11a44f0d
tree3cdcd9e8887a6fa41d1ddd85eb8c759990adc27b
parenta9e882096317a088087b608d272da7029a6cc8c8
[ARM] omap: move propagate_rate() calls into generic omap clock code

propagate_rate() is recursive, so it makes sense to minimise the
amount of stack which is used for each recursion.  So, rather than
recursing back into it from the ->recalc functions if RATE_PROPAGATES
is set, do that test at the higher level.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap1/clock.c
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock24xx.c
arch/arm/mach-omap2/clock24xx.h
arch/arm/mach-omap2/clock34xx.c
arch/arm/mach-omap2/clock34xx.h
arch/arm/plat-omap/clock.c