Commit 0daf72fe authored by Jean-Francois Dagenais's avatar Jean-Francois Dagenais Committed by Ulf Hansson

mmc: sdhci-of-arasan: use io functions from sdhci.h

This increases consistency of the code across the sdhci family.
Signed-off-by: default avatarJean-Francois Dagenais <jeff.dagenais@gmail.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Reviewed-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
Tested-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 69afbb7e
...@@ -216,13 +216,13 @@ static void sdhci_arasan_hs400_enhanced_strobe(struct mmc_host *mmc, ...@@ -216,13 +216,13 @@ static void sdhci_arasan_hs400_enhanced_strobe(struct mmc_host *mmc,
u32 vendor; u32 vendor;
struct sdhci_host *host = mmc_priv(mmc); struct sdhci_host *host = mmc_priv(mmc);
vendor = readl(host->ioaddr + SDHCI_ARASAN_VENDOR_REGISTER); vendor = sdhci_readl(host, SDHCI_ARASAN_VENDOR_REGISTER);
if (ios->enhanced_strobe) if (ios->enhanced_strobe)
vendor |= VENDOR_ENHANCED_STROBE; vendor |= VENDOR_ENHANCED_STROBE;
else else
vendor &= ~VENDOR_ENHANCED_STROBE; vendor &= ~VENDOR_ENHANCED_STROBE;
writel(vendor, host->ioaddr + SDHCI_ARASAN_VENDOR_REGISTER); sdhci_writel(host, vendor, SDHCI_ARASAN_VENDOR_REGISTER);
} }
static void sdhci_arasan_reset(struct sdhci_host *host, u8 mask) static void sdhci_arasan_reset(struct sdhci_host *host, u8 mask)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment