mirror of
https://github.com/joel16/android_kernel_sony_msm8994_rework.git
synced 2024-11-23 20:09:51 +00:00
Merge "scsi: ufs: fix probe failure masked by crypto engine reset"
This commit is contained in:
commit
cdbac5e22c
@ -5970,7 +5970,7 @@ static int ufshcd_host_reset_and_restore(struct ufs_hba *hba)
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (hba->vops && hba->vops->crypto_engine_reset) {
|
||||
if (!err && hba->vops && hba->vops->crypto_engine_reset) {
|
||||
err = hba->vops->crypto_engine_reset(hba);
|
||||
if (err) {
|
||||
dev_err(hba->dev,
|
||||
|
Loading…
Reference in New Issue
Block a user