]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP2 clock: APLL code shouldn't rely on static clocks in its local namespace
authorPaul Walmsley <paul@pwsan.com>
Tue, 8 Dec 2009 23:18:46 +0000 (16:18 -0700)
committerpaul <paul@twilight.(none)>
Fri, 11 Dec 2009 23:12:11 +0000 (16:12 -0700)
commit46297fcdbd4674f246fff5b87e0f96588037c8ee
treeb627ace7000b4c67a9eaf98bb981dc8f3c5c6dae
parentacf16dfa940d0ec503cadb9e177c240c42dd9d77
OMAP2 clock: APLL code shouldn't rely on static clocks in its local namespace

Similar to the previous patch, the APLL code relied on the presence of the
static struct clks in its own namespace.  The APLL code didn't use them for
validation, however - it adjusted its own internal state depending on
the struct clk * that called it.  Now that static struct clks are
leaving the clock24xx.c namespace, use a more durable method: split the
omap2_clk_fixed_enable() function into omap2_clk_apll96_enable() and
omap2_clk_apll54_enable().  They still share a disable function.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock24xx.c
arch/arm/mach-omap2/clock24xx.h