Commit 82a8becb authored by Christian Hohnstaedt's avatar Christian Hohnstaedt Committed by Greg Kroah-Hartman
Browse files

crypto: ixp4xx - Fix handling of chained sg buffers



commit 0d44dc59 upstream.

 - keep dma functions away from chained scatterlists.
   Use the existing scatterlist iteration inside the driver
   to call dma_map_single() for each chunk and avoid dma_map_sg().

Signed-off-by: default avatarChristian Hohnstaedt <chohnstaedt@innominate.com>
Tested-By: default avatarKarl Hiramoto <karl@hiramoto.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 358c4bcd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment