Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1703072
| From | srinivas.kandagatla@linaro.org |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 2/2] mmc: sdhci-msm: set sdma_boundary to zero |
| Date | 2017-08-03 14:50 +0200 |
| Message-ID | <uanJE-8s6-19@gated-at.bofh.it> (permalink) |
| References | <uanJE-8s6-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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> --- 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; -- 2.9.3
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v3 2/2] mmc: sdhci-msm: set sdma_boundary to zero srinivas.kandagatla@linaro.org - 2017-08-03 14:50 +0200 Re: [PATCH v3 2/2] mmc: sdhci-msm: set sdma_boundary to zero Adrian Hunter <adrian.hunter@intel.com> - 2017-08-03 15:30 +0200
csiph-web