U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andy.Wu <Andy.Wu@sony.com>
To: u-boot@lists.denx.de
Subject: [PATCH] mmc: sdhci: skip cache invalidation if DMA is not used
Date: Thu, 14 Jan 2021 18:09:30 -0700 (MST)	[thread overview]
Message-ID: <1610672970480-0.post@n7.nabble.com> (raw)
In-Reply-To: <HK2PR04MB38915BD31DEE9358F51AF17081A80@HK2PR04MB3891.apcprd04.prod.outlook.com>

The config usage keep the same style as function sdhci_prepare_dma().

Reviewed-by: Andy Wu <Andy.Wu@sony.com> 

> +#if (defined(CONFIG_MMC_SDHCI_SDMA) || CONFIG_IS_ENABLED(MMC_SDHCI_ADMA))
>   dma_unmap_single(host->start_addr, data->blocks * data->blocksize,
>   mmc_get_dma_dir(data));
> +#endif 



--
Sent from: http://u-boot.10912.n7.nabble.com/

      reply	other threads:[~2021-01-15  1:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-14  5:46 [PATCH] mmc: sdhci: skip cache invalidation if DMA is not used Yuezhang.Mo at sony.com
2021-01-15  1:09 ` Andy.Wu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1610672970480-0.post@n7.nabble.com \
    --to=andy.wu@sony.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox