crypto: ixp4xx - Fix handling of chained sg buffers
authorChristian Hohnstaedt <chohnstaedt@innominate.com>
Fri, 27 Mar 2009 07:09:05 +0000 (15:09 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 2 May 2009 17:24:54 +0000 (10:24 -0700)
commit 0d44dc59b2b434b29aafeae581d06f81efac7c83 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: Christian Hohnstaedt <chohnstaedt@innominate.com>
Tested-By: Karl Hiramoto <karl@hiramoto.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found