]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Fri, 8 May 2009 22:45:01 +0000 (15:45 -0700)
commit68845515c8b11791b547a2838e22c27dfa3115ee
tree945d04916070cc990d5d271dc9a560fa806349e3
parent28cb1f4a210dd7ef5e58b1b39aa95d59116f69cd
crypto: ixp4xx - Fix handling of chained sg buffers

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>
drivers/crypto/ixp4xx_crypto.c