mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
Merge "Revert "scsi: ufs-qcom: Abort phy power on sequence if clks are off""
This commit is contained in:
commit
64a2546eea
1 changed files with 0 additions and 10 deletions
|
|
@ -494,16 +494,6 @@ static int ufs_qcom_phy_power_on(struct ufs_hba *hba)
|
|||
int ret = 0;
|
||||
|
||||
mutex_lock(&host->phy_mutex);
|
||||
if (hba->curr_dev_pwr_mode == UFS_POWERDOWN_PWR_MODE &&
|
||||
hba->clk_gating.state != CLKS_ON) {
|
||||
ret = -1;
|
||||
dev_err(hba->dev, "%s: abort phy power on, clks are off %d\n",
|
||||
__func__, ret);
|
||||
|
||||
mutex_unlock(&host->phy_mutex);
|
||||
|
||||
return ret;
|
||||
}
|
||||
if (!host->is_phy_pwr_on) {
|
||||
ret = phy_power_on(phy);
|
||||
if (ret) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue