summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2019-09-12 13:13:55 +0900
committerChristoph Hellwig <hch@lst.de>2019-09-12 13:14:09 +0100
commit427b00342c5a3ebcf31fac2ce3b21fb993952816 (patch)
tree5b2a6de70bcea202ed9d516e1fc82aef6b4cb0b7 /block
parent5489c8e0cf036d20099fadb9d05ab627d90cff92 (diff)
mmc: queue: Fix bigger segments usage
The commit 38c38cb73223 ("mmc: queue: use bigger segments if DMA MAP layer can merge the segments") always enables the bugger segments if DMA MAP layer can merge the segments, but some controllers (SDHCI) have strictly limitation about the segments size, and then the commit breaks on the controllers. To fix the issue, this patch adds a new flag MMC_CAP2_MERGE_CAPABLE into the struct mmc_host and the bigger segments usage is disabled as default. Reported-by: Thierry Reding <treding@nvidia.com> Fixes: 38c38cb73223 ("mmc: queue: use bigger segments if DMA MAP layer can merge the segments") Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions