On Tue, Apr 10, 2018 at 11:38:29AM +0200, Wolfram Sang wrote: > From: Masaharu Hayakawa <[email protected]> > > 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]>
