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

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

Merge "mmc: queue: Remove BUG_ON() in cmdq_thread"

parents dcbfdad0 f596f55b
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -133,14 +133,11 @@ static int mmc_cmdq_thread(void *d)

		ret = mq->cmdq_issue_fn(mq, mq->cmdq_req_peeked);
		/*
		 * Don't requeue if issue_fn fails, just bug on.
		 * We don't expect failure here and there is no recovery other
		 * than fixing the actual issue if there is any.
		 * Don't requeue if issue_fn fails.
		 * Recovery will be come by completion softirq
		 * Also we end the request if there is a partition switch error,
		 * so we should not requeue the request here.
		 */
		if (ret)
			BUG_ON(1);
	} /* loop */

	return 0;