mmc: sdhci-of-arasan: use io functions from sdhci.h
This increases consistency of the code across the sdhci family. Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com> Tested-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Родитель
69afbb7e3f
Коммит
0daf72fe34
|
@ -216,13 +216,13 @@ static void sdhci_arasan_hs400_enhanced_strobe(struct mmc_host *mmc,
|
|||
u32 vendor;
|
||||
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)
|
||||
vendor |= VENDOR_ENHANCED_STROBE;
|
||||
else
|
||||
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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче