]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: OMAP: Remove unnecessary call to clk_get()
authorJon Hunter <jon-hunter@ti.com>
Thu, 19 Jul 2012 01:10:12 +0000 (20:10 -0500)
committerJon Hunter <jon-hunter@ti.com>
Mon, 12 Nov 2012 22:23:56 +0000 (16:23 -0600)
commitd7aba5540d3f1aa2d7248d2f81506d994b25b327
treede6cd0f50c12ee907d4b378951781e3cf67a11f3
parent4249d96ca35a765c25a70b7d29df5b6d80987c7f
ARM: OMAP: Remove unnecessary call to clk_get()

Whenever we call the function omap_dm_timer_set_source() to set the clock
source of a dmtimer we look-up the dmtimer functional clock source by
calling clk_get(). This is not necessary because on requesting a dmtimer
we look-up the functional clock source and store it in the omap_dm_timer
structure. So instead of looking up the clock again used the clock handle
that stored in the omap_dm_timer structure.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/plat-omap/dmtimer.c