OMAP: clockdomain: Remove redundant call to pwrdm_wait_transition()
authorVaibhav Bedia <vaibhav.bedia@ti.com>
Sun, 10 Jul 2011 11:56:53 +0000 (05:56 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 10 Jul 2011 11:56:53 +0000 (05:56 -0600)
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>
arch/arm/mach-omap2/clockdomain.c

index 6cb6c03293df98030ed356c958ba501a90f76fbc..4fbbbfcc9ba289e2e6a56c1618d6a0a36594a6a6 100644 (file)
@@ -834,7 +834,6 @@ int clkdm_clk_enable(struct clockdomain *clkdm, struct clk *clk)
                 clk->name);
 
        arch_clkdm->clkdm_clk_enable(clkdm);
                 clk->name);
 
        arch_clkdm->clkdm_clk_enable(clkdm);
-       pwrdm_wait_transition(clkdm->pwrdm.ptr);
        pwrdm_clkdm_state_switch(clkdm);
 
        return 0;
        pwrdm_clkdm_state_switch(clkdm);
 
        return 0;