diff options
author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2018-09-13 17:47:08 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-10-08 12:40:43 +0300 |
commit | 54541815b43f4e49c82628bf28bbb31d86d2f58a (patch) | |
tree | 65f2d7e02862ceacf51000998ad827ca9d378f4e /drivers/mmc/host/mxcmmc.c | |
parent | 07bafc1e3536a4e3c422dbd13341688b54f159bb (diff) | |
download | linux-54541815b43f4e49c82628bf28bbb31d86d2f58a.tar.xz |
mmc: renesas_sdhi_internal_dmac: set scatter/gather max segment size
Fix warning when running with CONFIG_DMA_API_DEBUG_SG=y by allocating a
device_dma_parameters structure and filling in the max segment size. The
size used is the result of a discussion with Renesas hardware engineers
and unfortunately not found in the datasheet.
renesas_sdhi_internal_dmac ee140000.sd: DMA-API: mapping sg segment
longer than device claims to support [len=126976] [max=65536]
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
[wsa: simplified some logic after validating intended dma_parms life cycle
and added comment]
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/mxcmmc.c')
0 files changed, 0 insertions, 0 deletions