From: Stefan Richter Date: Sat, 9 Aug 2008 18:13:00 +0000 (+0200) Subject: ieee1394: sbp2: stricter dma_sync X-Git-Tag: v2.6.28-rc1~277^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a77b17c855c4ec1c87ed80e0f280095a4ee1f4f;p=pandora-kernel.git ieee1394: sbp2: stricter dma_sync Two dma_sync_single_for_cpu() were called in the wrong place. Luckily they were merely for DMA_TO_DEVICE, hence nobody noticed. Also reorder the matching dma_sync_single_for_device() a little bit so that they reside in the same functions as their counterparts. This also avoids syncing the s/g table for requests which don't use it. Signed-off-by: Stefan Richter --- Reading git-diff-tree failed