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

Commit 032ca0a8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs: Clear the aborted tag in case of ICE error"

parents 10db9e1c 7600574a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4660,7 +4660,7 @@ void ufshcd_abort_outstanding_transfer_requests(struct ufs_hba *hba, int result)
			lrbp->cmd = NULL;
			/* Clear pending transfer requests */
			ufshcd_clear_cmd(hba, index);
			__clear_bit(index, &hba->outstanding_tasks);
			__clear_bit(index, &hba->outstanding_reqs);
			clear_bit_unlock(index, &hba->lrb_in_use);
			/* Do not touch lrbp after scsi done */
			cmd->scsi_done(cmd);
@@ -4669,6 +4669,7 @@ void ufshcd_abort_outstanding_transfer_requests(struct ufs_hba *hba, int result)
			if (hba->dev_cmd.complete) {
				ufshcd_cond_add_cmd_trace(hba, index,
							"dev_failed");
				__clear_bit(index, &hba->outstanding_reqs);
				complete(hba->dev_cmd.complete);
			}
		}