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