diff options
author | Masaharu Hayakawa <[email protected]> | 2018-04-18 20:20:59 +0200 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2018-05-02 15:08:45 +0200 |
commit | ae275b9d606f92227f43603919dc3576380efdc1 (patch) | |
tree | 0e77f652b23091968aabbe69b71d37eeff3b01a7 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | a028b435bf37fa091f701ee44e45cc152740fb8f (diff) |
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 <[email protected]>
[Niklas: broke this commit in two and tidied small style issue]
Signed-off-by: Niklas Söderlund <[email protected]>
[rebased to mmc/next]
Signed-off-by: Wolfram Sang <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions