Re: [PATCH] mmc: sdhci-of-arasan: use io functions from sdhci.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17 July 2017 at 03:23, Jean-Francois Dagenais
<jeff.dagenais@xxxxxxxxx> wrote:
> This increases consistency of the code across the sdhci family.
>
> v2: rebased onto ulfh/mmc/next and tweaked headline accordingly.
>
> Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@xxxxxxxxx>

Thanks applied for next, by dropping the version history from the change log.

Kind regards
Uffe

> ---
>  drivers/mmc/host/sdhci-of-arasan.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c
> index b13c0a7d50e4..528a5d24c0bc 100644
> --- a/drivers/mmc/host/sdhci-of-arasan.c
> +++ b/drivers/mmc/host/sdhci-of-arasan.c
> @@ -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)
> --
> 2.11.0
>
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux