dma-mapping: fix dma_sync_single_range_*
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tue, 11 May 2010 21:06:43 +0000 (14:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 May 2010 00:33:41 +0000 (17:33 -0700)
commitf33d7e2d2d113a63772bbc993cdec3b5327f0ef1
tree1349305b4c3a39c87baab95beb05fa5b8dfc7750
parentfc2a093e7ad23e935aa29e349bc27173c92f1a95
dma-mapping: fix dma_sync_single_range_*

dma_sync_single_range_for_cpu() and dma_sync_single_range_for_device() use
a wrong address with a partial synchronization.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/dma-mapping-common.h