]> asedeno.scripts.mit.edu Git - linux.git/commit
mmc: sdhci-msm: set sdma_boundary to zero
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 3 Aug 2017 12:46:14 +0000 (14:46 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:54 +0000 (14:01 +0200)
commit2a641e5374a486741869875a8b1a35dff6fcd669
tree29c8bd8192817c78489b590d4c6b4e8850f6892e
parentc846a00f72bf21b4cece98ffd8f28e80d5d7fed1
mmc: sdhci-msm: set sdma_boundary to zero

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>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c