|
@@ -4473,7 +4473,7 @@ out:
|
|
|
if (!IS_ERR_OR_NULL(clki->clk) && clki->enabled)
|
|
if (!IS_ERR_OR_NULL(clki->clk) && clki->enabled)
|
|
|
clk_disable_unprepare(clki->clk);
|
|
clk_disable_unprepare(clki->clk);
|
|
|
}
|
|
}
|
|
|
- } else if (!ret && on) {
|
|
|
|
|
|
|
+ } else if (on) {
|
|
|
spin_lock_irqsave(hba->host->host_lock, flags);
|
|
spin_lock_irqsave(hba->host->host_lock, flags);
|
|
|
hba->clk_gating.state = CLKS_ON;
|
|
hba->clk_gating.state = CLKS_ON;
|
|
|
spin_unlock_irqrestore(hba->host->host_lock, flags);
|
|
spin_unlock_irqrestore(hba->host->host_lock, flags);
|