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

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

Merge "scsi: ufs: ignore hibern8 enter failure after UFS card is removed"

parents 9291385d cfee1649
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -5333,7 +5333,8 @@ int ufshcd_uic_hibern8_enter(struct ufs_hba *hba)
		ret = __ufshcd_uic_hibern8_enter(hba);
		ret = __ufshcd_uic_hibern8_enter(hba);
		if (!ret)
		if (!ret)
			goto out;
			goto out;
		else if (ret != -EAGAIN)
		else if (ret != -EAGAIN &&
			 !(hba->extcon && ufshcd_is_card_offline(hba)))
			/* Unable to recover the link, so no point proceeding */
			/* Unable to recover the link, so no point proceeding */
			BUG_ON(1);
			BUG_ON(1);
	}
	}