Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d189e4ea authored by Monika Singh's avatar Monika Singh
Browse files

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: default avatarMonika Singh <monising@codeaurora.org>
parent 244ab508
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;