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

Commit 6dc1754a authored by chrmhoffmann's avatar chrmhoffmann Committed by Alexander Grund
Browse files

Revert "scsi: ufs: Release clock if DMA map fails"

* Reason for revert: "scsi: ufs: add support for hibern8 on idle"
* (ab18ee44) added ufshcd_release_all(hba) already

This reverts commit 992203a7.

Change-Id: Icafaa40c367d1a3cfae0ef88abb8c97613d1405d
parent cde6dc92
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3116,7 +3116,6 @@ static int ufshcd_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd)

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