diff options
Diffstat (limited to 'drivers/scsi/ufs')
-rw-r--r-- | drivers/scsi/ufs/ufshcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index d3f6ddb5d99b..b9da4463cefb 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c | |||
@@ -4473,7 +4473,7 @@ out: | |||
4473 | if (!IS_ERR_OR_NULL(clki->clk) && clki->enabled) | 4473 | if (!IS_ERR_OR_NULL(clki->clk) && clki->enabled) |
4474 | clk_disable_unprepare(clki->clk); | 4474 | clk_disable_unprepare(clki->clk); |
4475 | } | 4475 | } |
4476 | } else if (!ret && on) { | 4476 | } else if (on) { |
4477 | spin_lock_irqsave(hba->host->host_lock, flags); | 4477 | spin_lock_irqsave(hba->host->host_lock, flags); |
4478 | hba->clk_gating.state = CLKS_ON; | 4478 | hba->clk_gating.state = CLKS_ON; |
4479 | spin_unlock_irqrestore(hba->host->host_lock, flags); | 4479 | spin_unlock_irqrestore(hba->host->host_lock, flags); |