On Tue, Apr 10, 2018 at 11:38:29AM +0200, Wolfram Sang wrote: > From: Masaharu Hayakawa <masaharu.hayakawa.ry@xxxxxxxxxxx> > > 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@xxxxxxxxxxx> > [Niklas: broke this commit in two and tidied small style issue] > Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx> > [rebased to mmc/next] > Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> Reviewed-by: Simon Horman <horms+renesas@xxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html