Revert "mmc: cqhci: Fix checking of CQHCI_HALT state"

This reverts commit 8762442fe9.
This commit is contained in:
Ksawlii 2024-11-24 00:23:36 +01:00
parent 1dfae2e328
commit de3207402a

View file

@ -607,7 +607,7 @@ static int cqhci_request(struct mmc_host *mmc, struct mmc_request *mrq)
cqhci_writel(cq_host, 0, CQHCI_CTL);
mmc->cqe_on = true;
pr_debug("%s: cqhci: CQE on\n", mmc_hostname(mmc));
if (cqhci_readl(cq_host, CQHCI_CTL) & CQHCI_HALT) {
if (cqhci_readl(cq_host, CQHCI_CTL) && CQHCI_HALT) {
pr_err("%s: cqhci: CQE failed to exit halt state\n",
mmc_hostname(mmc));
}