]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP clock/CPUFreq: add clk_exit_cpufreq_table()
authorPaul Walmsley <paul@pwsan.com>
Fri, 8 Jan 2010 22:23:16 +0000 (15:23 -0700)
committerPaul Walmsley <paul@pwsan.com>
Fri, 8 Jan 2010 22:23:16 +0000 (15:23 -0700)
commitaa35d747929d93df61ad6ddeb13963c3815c1b60
tree3a82d2f29a5e82a700400ff9d48a87f5c114f6c1
parent1b1c09687eabd48ffde7b79c5006d82b0a761fa4
OMAP clock/CPUFreq: add clk_exit_cpufreq_table()

A subsequent patch adds code on OMAP2xxx to dynamically allocate the
CPUFreq frequency table in clk_init_cpufreq_table(), so for it to
avoid a leak, it will need a corresponding function to free the
memory.  This patch adds clk_exit_cpufreq_table() with generic
code to call a chip-specific variant inside the clockfw_lock spinlock via
struct clk_functions.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/clock.c
arch/arm/plat-omap/cpu-omap.c
arch/arm/plat-omap/include/plat/clock.h