diff options
author | Vaibhav Bedia <vaibhav.bedia@ti.com> | 2011-07-10 07:56:53 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-07-10 07:56:53 -0400 |
commit | a5122ff8ceb2b1f207965a3608d3da3af832e513 (patch) | |
tree | e63e8b389bc32f8411bb5b4de2d015b4ad8e8f79 /arch/arm/mach-omap2 | |
parent | 45c38252d76a96e6e0e05f982ca44096191a8eea (diff) |
OMAP: clockdomain: Remove redundant call to pwrdm_wait_transition()
The call to pwrdm_wait_transition() in clkdm_clk_enable()
is redundant since the function pwrdm_clkdm_state_switch()
which is called next also does the same thing.
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/clockdomain.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/clockdomain.c b/arch/arm/mach-omap2/clockdomain.c index 6cb6c03293df..4fbbbfcc9ba2 100644 --- a/arch/arm/mach-omap2/clockdomain.c +++ b/arch/arm/mach-omap2/clockdomain.c | |||
@@ -834,7 +834,6 @@ int clkdm_clk_enable(struct clockdomain *clkdm, struct clk *clk) | |||
834 | clk->name); | 834 | clk->name); |
835 | 835 | ||
836 | arch_clkdm->clkdm_clk_enable(clkdm); | 836 | arch_clkdm->clkdm_clk_enable(clkdm); |
837 | pwrdm_wait_transition(clkdm->pwrdm.ptr); | ||
838 | pwrdm_clkdm_state_switch(clkdm); | 837 | pwrdm_clkdm_state_switch(clkdm); |
839 | 838 | ||
840 | return 0; | 839 | return 0; |