0002-p1020-esdhc-controller-reserved-bit.patch 971 B

12345678910111213141516171819202122232425262728
  1. From 4c74fd1266287deca0c1ff091071c5b8558b9735 Mon Sep 17 00:00:00 2001
  2. From: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
  3. Date: Mon, 18 Jul 2016 10:45:41 -0400
  4. Subject: [PATCH 1/1] p1020 esdhc controller reserved bit
  5. Prevent SDHCI core from writing reserved bits, where
  6. p1020 reserved bit is SDHCI_CTRL_HISPD, not 0x01(SDHCI_CTRL_LED).
  7. Signed-off-by: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
  8. Signed-off-by: Michael Durrant <arcsupport@arcturusnetworks.com>
  9. ---
  10. drivers/mmc/host/sdhci-esdhc.h | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/drivers/mmc/host/sdhci-esdhc.h b/drivers/mmc/host/sdhci-esdhc.h
  13. index a870c42..b45de0a 100644
  14. --- a/drivers/mmc/host/sdhci-esdhc.h
  15. +++ b/drivers/mmc/host/sdhci-esdhc.h
  16. @@ -45,6 +45,6 @@
  17. #define ESDHC_DMA_SYSCTL 0x40c
  18. #define ESDHC_DMA_SNOOP 0x00000040
  19. -#define ESDHC_HOST_CONTROL_RES 0x01
  20. +#define ESDHC_HOST_CONTROL_RES (SDHCI_CTRL_HISPD)
  21. #endif /* _DRIVERS_MMC_SDHCI_ESDHC_H */
  22. --
  23. 2.1.4