diff options
author | Masaharu Hayakawa <masaharu.hayakawa.ry@renesas.com> | 2018-04-18 20:20:59 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-05-02 15:08:45 +0200 |
commit | ae275b9d606f92227f43603919dc3576380efdc1 (patch) | |
tree | 0e77f652b23091968aabbe69b71d37eeff3b01a7 /drivers/ide | |
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 <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 'drivers/ide')
0 files changed, 0 insertions, 0 deletions