8136-drivers-mmc-Add-compatible-string-for-LS1088A.patch 1002 B

123456789101112131415161718192021222324
  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. Signed-off-by: Rai Harninder <harninder.rai@nxp.com>
  6. Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com>
  7. Signed-off-by: Raghav Dogra <raghav.dogra@nxp.com>
  8. ---
  9. drivers/mmc/host/sdhci-pltfm.c | 3 +++
  10. 1 file changed, 3 insertions(+)
  11. --- a/drivers/mmc/host/sdhci-pltfm.c
  12. +++ b/drivers/mmc/host/sdhci-pltfm.c
  13. @@ -93,6 +93,9 @@ void sdhci_get_of_property(struct platfo
  14. if (of_device_is_compatible(np, "fsl,p2020-rev1-esdhc"))
  15. host->quirks |= SDHCI_QUIRK_BROKEN_DMA;
  16. + if (of_device_is_compatible(np, "fsl,ls1088a-esdhc"))
  17. + host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION;
  18. +
  19. if (of_device_is_compatible(np, "fsl,p2020-esdhc") ||
  20. of_device_is_compatible(np, "fsl,p1010-esdhc") ||
  21. of_device_is_compatible(np, "fsl,t4240-esdhc") ||