mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
Merge "scsi: ufshcd-qti: Keep the correct device and link state"
This commit is contained in:
commit
d224f95849
1 changed files with 0 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue