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

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

Merge "mmc: host: cmdq: Proceed with other interrupts if CQTCN is zero"

parents 2b0744ee afab66eb
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1108,7 +1108,7 @@ irqreturn_t cmdq_irq(struct mmc_host *mmc, int err)
		/* read CQTCN and complete the request */
		comp_status = cmdq_readl(cq_host, CQTCN);
		if (!comp_status)
			goto out;
			goto hac;
		/*
		 * The CQTCN must be cleared before notifying req completion
		 * to upper layers to avoid missing completion notification
@@ -1135,7 +1135,7 @@ irqreturn_t cmdq_irq(struct mmc_host *mmc, int err)
			}
		}
	}

hac:
	if (status & CQIS_HAC) {
		if (cq_host->ops->post_cqe_halt)
			cq_host->ops->post_cqe_halt(mmc);
@@ -1146,7 +1146,6 @@ irqreturn_t cmdq_irq(struct mmc_host *mmc, int err)
		complete(&cq_host->halt_comp);
	}

out:
	return IRQ_HANDLED;
}
EXPORT_SYMBOL(cmdq_irq);