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

Commit 59eee282 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufshcd: Fix double release of hba"

parents 0e22a059 d5589fee
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3832,7 +3832,6 @@ static int ufshcd_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd)

	err = ufshcd_map_sg(hba, lrbp);
	if (err) {
		ufshcd_release(hba, false);
		lrbp->cmd = NULL;
		clear_bit_unlock(tag, &hba->lrb_in_use);
		ufshcd_release_all(hba);