linux-raspberrypi: Tidy patches & config fragments
[AGL/meta-agl.git] / meta-agl-bsp / meta-raspberrypi / recipes-kernel / linux / linux-raspberrypi / 0002-Disable-DMA-in-sdhci-driver.patch
1 From 758bc9b917469bc4e527dc3aae821c91cbc3d426 Mon Sep 17 00:00:00 2001
2 From: Stewart Hildebrand <stewart.hildebrand@dornerworks.com>
3 Date: Thu, 18 Jul 2019 00:01:27 -0400
4 Subject: [PATCH 2/4] Disable DMA in sdhci driver
5
6 ---
7  drivers/mmc/host/sdhci-iproc.c | 2 ++
8  1 file changed, 2 insertions(+)
9
10 diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c
11 index 983cddce9..150f7bfc8 100644
12 --- a/drivers/mmc/host/sdhci-iproc.c
13 +++ b/drivers/mmc/host/sdhci-iproc.c
14 @@ -252,6 +252,8 @@ static const struct sdhci_iproc_data bcm2835_data = {
15  
16  static const struct sdhci_pltfm_data sdhci_bcm2838_pltfm_data = {
17         .ops = &sdhci_iproc_32only_ops,
18 +       .quirks = SDHCI_QUIRK_BROKEN_DMA |
19 +                 SDHCI_QUIRK_BROKEN_ADMA,
20  };
21  
22  static const struct sdhci_iproc_data bcm2838_data = {
23 -- 
24 2.17.1
25