Skip to contentSkip to conversation

mmc: sdhci-spear: Convert to use sdhci_pltfm_* APIs

PATCH In review Axel Lin 2 participants 2 messages Aug 31, 2013 – Sep 2, 2013

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 mmc: sdhci-spear: Convert to use sdhci_pltfm_* APIs

This patch refactors the code to use sdhci_pltfm_* APIs instead of open-coded.

---
Hi Viresh,
Looks like this driver can be converted to use sdhci_pltfm_* APIs instead of open-coded. I don't have this hardware, any chance to test if this patch works?

Thanks,
Axel

 drivers/mmc/host/Kconfig       |   2 +-
 drivers/mmc/host/sdhci-spear.c | 114 +++++++++++++----------------------------
 2 files changed, 36 insertions(+), 80 deletions(-)
drivers/mmc/host/Kconfig +1 -1
index b8ce939..152336b 100644
@@ -229,7 +229,7 @@ config MMC_SDHCI_PXAV2
 
 config MMC_SDHCI_SPEAR
 	tristate "SDHCI support on ST SPEAr platform"
-	depends on MMC_SDHCI && PLAT_SPEAR
+	depends on MMC_SDHCI_PLTFM && PLAT_SPEAR
 	help
 	  This selects the Secure Digital Host Controller Interface (SDHCI)
 	  often referrered to as the HSMMC block in some of the ST SPEAR range
drivers/mmc/host/sdhci-spear.c +35 -79

232 lines not on this page · raw message

Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 7 lines · Axel Lin

This patch refactors the code to use sdhci_pltfm_* APIs instead of open-coded.

---
Hi Viresh,
Looks like this driver can be converted to use sdhci_pltfm_* APIs instead of open-coded. I don't have this hardware, any chance to test if this patch works?

I can't, don't have that hardware anymore :(