aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/0002-Disable-DMA-in-sdhci-driver.patch
blob: 04a8733f287b5a890910a1ccf06614545250d5f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 758bc9b917469bc4e527dc3aae821c91cbc3d426 Mon Sep 17 00:00:00 2001
From: Stewart Hildebrand <stewart.hildebrand@dornerworks.com>
Date: Thu, 18 Jul 2019 00:01:27 -0400
Subject: [PATCH 2/4] Disable DMA in sdhci driver

---
 drivers/mmc/host/sdhci-iproc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c
index 983cddce9..150f7bfc8 100644
--- a/drivers/mmc/host/sdhci-iproc.c
+++ b/drivers/mmc/host/sdhci-iproc.c
@@ -252,6 +252,8 @@ static const struct sdhci_iproc_data bcm2835_data = {
 
 static const struct sdhci_pltfm_data sdhci_bcm2838_pltfm_data = {
 	.ops = &sdhci_iproc_32only_ops,
+	.quirks = SDHCI_QUIRK_BROKEN_DMA |
+		  SDHCI_QUIRK_BROKEN_ADMA,
 };
 
 static const struct sdhci_iproc_data bcm2838_data = {
-- 
2.17.1