diff options
author | 2018-04-18 20:20:59 +0200 | |
---|---|---|
committer | 2018-05-02 15:08:45 +0200 | |
commit | ae275b9d606f92227f43603919dc3576380efdc1 (patch) | |
tree | 0e77f652b23091968aabbe69b71d37eeff3b01a7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | mmc: renesas_sdhi: use helpers to access struct scatterlist members (diff) | |
download | wireguard-linux-ae275b9d606f92227f43603919dc3576380efdc1.tar.xz wireguard-linux-ae275b9d606f92227f43603919dc3576380efdc1.zip |
mmc: renesas_sdhi: Fix alignment check of sg buffer
Sometimes sg->offset is not used for buffer addresses allocated by
dma_map_sg(), so alignment checks should be done on the allocated buffer
addresses. Delete the alignment check for sg->offset that is done before
dma_map_sg(). Instead, it performs the alignment check for
sg->dma_address after dma_map_sg().
Signed-off-by: Masaharu Hayakawa <masaharu.hayakawa.ry@renesas.com>
[Niklas: broke this commit in two and tidied small style issue]
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
[rebased to mmc/next]
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions