layerscape: add ls1088ardb device support
[openwrt/staging/lynxis/omap.git] / target / linux / layerscape / patches-4.4 / 8136-drivers-mmc-Add-compatible-string-for-LS1088A.patch
1 From f6f7c6ecdecfb75412a17205d9ac4905f6bc2851 Mon Sep 17 00:00:00 2001
2 From: Rai Harninder <harninder.rai@nxp.com>
3 Date: Thu, 18 Feb 2016 16:35:35 +0530
4 Subject: [PATCH 136/141] drivers/mmc: Add compatible string for LS1088A
5
6 Signed-off-by: Rai Harninder <harninder.rai@nxp.com>
7 Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com>
8 Signed-off-by: Raghav Dogra <raghav.dogra@nxp.com>
9 ---
10 drivers/mmc/host/sdhci-pltfm.c | 3 +++
11 1 file changed, 3 insertions(+)
12
13 --- a/drivers/mmc/host/sdhci-pltfm.c
14 +++ b/drivers/mmc/host/sdhci-pltfm.c
15 @@ -93,6 +93,9 @@ void sdhci_get_of_property(struct platfo
16 if (of_device_is_compatible(np, "fsl,p2020-rev1-esdhc"))
17 host->quirks |= SDHCI_QUIRK_BROKEN_DMA;
18
19 + if (of_device_is_compatible(np, "fsl,ls1088a-esdhc"))
20 + host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION;
21 +
22 if (of_device_is_compatible(np, "fsl,p2020-esdhc") ||
23 of_device_is_compatible(np, "fsl,p1010-esdhc") ||
24 of_device_is_compatible(np, "fsl,t4240-esdhc") ||