[PATCH 2/2] mmc: sunxi: Mark the HPI of the mmc controller broken by default

Olliver Schinagl oliver at schinagl.nl
Tue Apr 19 00:12:14 PDT 2016


So far it seems all sunxi MMC controllers have a broken HPI. Until
proved otherwise, mark all sunxi mmc controllers as having a broken HPI.

Signed-off-by: Olliver Schinagl <oliver at schinagl.nl>
---
 drivers/mmc/host/sunxi-mmc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c
index 8372a41..acf24fb 100644
--- a/drivers/mmc/host/sunxi-mmc.c
+++ b/drivers/mmc/host/sunxi-mmc.c
@@ -1126,8 +1126,8 @@ static int sunxi_mmc_probe(struct platform_device *pdev)
 	mmc->f_min		=   400000;
 	mmc->f_max		= 52000000;
 	mmc->caps	       |= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED |
-				  MMC_CAP_1_8V_DDR |
-				  MMC_CAP_ERASE | MMC_CAP_SDIO_IRQ;
+				  MMC_CAP_1_8V_DDR | MMC_CAP_ERASE |
+				  MMC_CAP_SDIO_IRQ | MMC_CAP_BROKEN_HPI;
 
 	ret = mmc_of_parse(mmc);
 	if (ret)
-- 
2.8.0.rc3




More information about the linux-arm-kernel mailing list