mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
ANDROID: scsi: ufs: Handle double release of clocks
Remove double release of UFS clocks when ufshcd_prepare_lrbp_crypto fails for any reason. Change-Id: Icf427330a08d1841ade1724322885be765102a79 Signed-off-by: Monika Singh <monising@codeaurora.org>
This commit is contained in:
parent
244ab508be
commit
d189e4ea6d
1 changed files with 0 additions and 1 deletions
|
|
@ -2644,7 +2644,6 @@ static int ufshcd_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd)
|
|||
ufshcd_release(hba);
|
||||
lrbp->cmd = NULL;
|
||||
clear_bit_unlock(tag, &hba->lrb_in_use);
|
||||
ufshcd_release(hba);
|
||||
goto out;
|
||||
}
|
||||
lrbp->req_abort_skip = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue