X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fbrcm2708%2Fpatches-4.19%2F950-0463-mmc-sdhci-Mask-spurious-interrupts.patch;fp=target%2Flinux%2Fbrcm2708%2Fpatches-4.19%2F950-0463-mmc-sdhci-Mask-spurious-interrupts.patch;h=0000000000000000000000000000000000000000;hb=7d7aa2fd924c27829ec25f825481554dd81bce97;hp=fd5cb5277cb9132cfc028285ed97e4d9adbf5445;hpb=e7bfda2c243e66a75ff966ba04c28b1590b5d24c;p=openwrt%2Fstaging%2Fchunkeey.git diff --git a/target/linux/brcm2708/patches-4.19/950-0463-mmc-sdhci-Mask-spurious-interrupts.patch b/target/linux/brcm2708/patches-4.19/950-0463-mmc-sdhci-Mask-spurious-interrupts.patch deleted file mode 100644 index fd5cb5277c..0000000000 --- a/target/linux/brcm2708/patches-4.19/950-0463-mmc-sdhci-Mask-spurious-interrupts.patch +++ /dev/null @@ -1,29 +0,0 @@ -From be309b7db77215610d5ac15bf0aacd47ea5b3433 Mon Sep 17 00:00:00 2001 -From: Phil Elwell -Date: Fri, 28 Sep 2018 16:24:05 +0100 -Subject: [PATCH] mmc: sdhci: Mask "spurious" interrupts - -Add a filter for "spurious" Transfer Complete interrupts, attempting -to make it as specific as possible: -* INT_DATA_END (transfer complete) is set -* There is a stop command in progress -* There is no data transfer in progress - -Signed-off-by: Phil Elwell ---- - drivers/mmc/host/sdhci.c | 4 ++++ - 1 file changed, 4 insertions(+) - ---- a/drivers/mmc/host/sdhci.c -+++ b/drivers/mmc/host/sdhci.c -@@ -2935,6 +2935,10 @@ static irqreturn_t sdhci_irq(int irq, vo - result = IRQ_WAKE_THREAD; - } - -+ if ((intmask & SDHCI_INT_DATA_END) && !host->data && -+ host->cmd && (host->cmd == host->cmd->mrq->stop)) -+ intmask &= ~SDHCI_INT_DATA_END; -+ - if (intmask & SDHCI_INT_CMD_MASK) - sdhci_cmd_irq(host, intmask & SDHCI_INT_CMD_MASK, &intmask); -