public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Hunter <adrian.hunter@intel.com>
To: srinivas.kandagatla@linaro.org, ulf.hansson@linaro.org
Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH v3 2/2] mmc: sdhci-msm: set sdma_boundary to zero
Date: Thu, 3 Aug 2017 16:14:41 +0300	[thread overview]
Message-ID: <8520c8ea-48d5-92bc-5f15-a4f61e663376@intel.com> (raw)
In-Reply-To: <20170803124614.21788-3-srinivas.kandagatla@linaro.org>

On 03/08/17 15:46, srinivas.kandagatla@linaro.org wrote:
> From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> 
> Programming legacy HOST SDMA Buffer Boundary bits in Block Size Register
> (0x04) is not supported in Qualcomm sdhci controllers. Writing to this
> would cause the controller not to transfer last block in case block size
> is 4 bytes or less.
> 
> This issue was noticed while testing sdio wlan card on Qcom DB410c board.
> 
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

Acked-by: Adrian Hunter <adrian.hunter@intel.com>

> ---
>  drivers/mmc/host/sdhci-msm.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
> index 9d601dc..adfe5bd 100644
> --- a/drivers/mmc/host/sdhci-msm.c
> +++ b/drivers/mmc/host/sdhci-msm.c
> @@ -1133,6 +1133,7 @@ static int sdhci_msm_probe(struct platform_device *pdev)
>  	if (IS_ERR(host))
>  		return PTR_ERR(host);
>  
> +	host->sdma_boundary = 0;
>  	pltfm_host = sdhci_priv(host);
>  	msm_host = sdhci_pltfm_priv(pltfm_host);
>  	msm_host->mmc = host->mmc;
> 

  reply	other threads:[~2017-08-03 13:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-03 12:46 [PATCH v3 0/2] mmc: sdhci: Add sdma_boundary to sdhci_host srinivas.kandagatla
2017-08-03 12:46 ` [PATCH v3 1/2] mmc: sdhci: add sdma_boundary member to struct sdhci_host srinivas.kandagatla
2017-08-03 13:14   ` Adrian Hunter
2017-08-03 12:46 ` [PATCH v3 2/2] mmc: sdhci-msm: set sdma_boundary to zero srinivas.kandagatla
2017-08-03 13:14   ` Adrian Hunter [this message]
2017-08-08 10:38 ` [PATCH v3 0/2] mmc: sdhci: Add sdma_boundary to sdhci_host Ulf Hansson

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=8520c8ea-48d5-92bc-5f15-a4f61e663376@intel.com \
    --to=adrian.hunter@intel.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=srinivas.kandagatla@linaro.org \
    --cc=ulf.hansson@linaro.org \
    /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