eMMC: Adjust the location of the clean interrupt state. [1/1]

PD#SWPL-124598

Problem:
The interrupt status was cleared causing
the system to be blocked

Solution:
Adjust the location of the clean interrupt state

Verify:
T3x

Change-Id: I0f5883abcc3364e714244e882aadbe22452a88f4
Signed-off-by: Long <long.yu@amlogic.com>
This commit is contained in:
Long
2023-05-24 13:06:22 +08:00
committed by gerrit autosubmit
parent 99977112c9
commit 06b239d5e3
-2
View File
@@ -2929,8 +2929,6 @@ static irqreturn_t meson_mmc_irq_thread(int irq, void *dev_id)
if (cmd->error) {
meson_mmc_wait_desc_stop(host);
meson_mmc_request_done(host->mmc, cmd->mrq);
writel(0x7fff, host->regs + SD_EMMC_STATUS);
//pr_info("thread irq:0x%x\n", readl(host->regs + SD_EMMC_STATUS));
return IRQ_HANDLED;
}