Merge "scsi: ufshcd-qti: Keep the correct device and link state"

This commit is contained in:
qctecmdr 2020-05-12 21:14:49 -07:00 • committed by Gerrit - the friendly Code Review server
commit d224f95849

View file

@ -8355,11 +8355,6 @@ static int ufshcd_probe_hba(struct ufs_hba *hba)
ufshcd_auto_hibern8_enable(hba);
out:
if (ret) {
ufshcd_set_ufs_dev_poweroff(hba);
ufshcd_set_link_off(hba);
}
/*
* If we failed to initialize the device or the device is not
* present, turn off the power/clocks etc.