mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
7d7aa2fd92
This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Despite, since subtargets range from bcm2708 to bcm2711, it seems appropriate to use bcm27xx instead of bcm2708 (again, as already done for BOARDNAME). This also renames the packages brcm2708-userland and brcm2708-gpu-fw. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
30 lines
974 B
Diff
30 lines
974 B
Diff
From be309b7db77215610d5ac15bf0aacd47ea5b3433 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
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 <phil@raspberrypi.org>
|
|
---
|
|
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);
|
|
|