diff options
author | Paul Walmsley <paul@pwsan.com> | 2010-02-23 00:09:16 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-02-24 14:15:04 -0500 |
commit | 1a3377176b3d41e3f30483a624cdafadeeb4064f (patch) | |
tree | 6e7fd09d43e95a5757affc4e134ed174b32f4b4c /arch/arm/plat-omap | |
parent | 17d092733d9ffd7fcf6da36169a60caf8400fc4c (diff) |
OMAP2 clock: drop CONFIG_PARTICIPANT clock flag
It turns out that the only purpose of the CONFIG_PARTICIPANT clock
flag is to prevent omap2_clk_set_rate() and omap2_clk_set_parent()
from being executed on clocks with that flag set. The rate-changing
component can be more directly accomplished by dropping the .set_rate
and .round_rate function pointers from those CONFIG_PARTICIPANT struct
clks. As far as the parent-changing component is concerned, it turns
out that none of the CONFIG_PARTICIPANT clocks have multiple parent
choices, so all that is necessary is for omap2_clk_set_parent() to
bail out early if the new parent is equal to the old parent.
Implement this change and get rid of the flag, which has always had a
confusing name (it appears to be a Kconfig option, falsely).
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Richard Woodruff <r-woodruff2@ti.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/clock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/clock.h b/arch/arm/plat-omap/include/plat/clock.h index 07170c50aa49..70cddc091325 100644 --- a/arch/arm/plat-omap/include/plat/clock.h +++ b/arch/arm/plat-omap/include/plat/clock.h | |||
@@ -195,7 +195,7 @@ extern const struct clkops clkops_null; | |||
195 | #define CLOCK_IDLE_CONTROL (1 << 7) | 195 | #define CLOCK_IDLE_CONTROL (1 << 7) |
196 | #define CLOCK_NO_IDLE_PARENT (1 << 8) | 196 | #define CLOCK_NO_IDLE_PARENT (1 << 8) |
197 | #define DELAYED_APP (1 << 9) /* Delay application of clock */ | 197 | #define DELAYED_APP (1 << 9) /* Delay application of clock */ |
198 | #define CONFIG_PARTICIPANT (1 << 10) /* Fundamental clock */ | 198 | /* bit 10 is currently free */ |
199 | #define ENABLE_ON_INIT (1 << 11) /* Enable upon framework init */ | 199 | #define ENABLE_ON_INIT (1 << 11) /* Enable upon framework init */ |
200 | #define INVERT_ENABLE (1 << 12) /* 0 enables, 1 disables */ | 200 | #define INVERT_ENABLE (1 << 12) /* 0 enables, 1 disables */ |
201 | /* bit 13 is currently free */ | 201 | /* bit 13 is currently free */ |