]> pilppa.com Git - linux-2.6-omap-h63xx.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)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Mar 2009 07:09:05 +0000 (15:09 +0800)
commit0d44dc59b2b434b29aafeae581d06f81efac7c83
tree0613546afc33af9144c7c39266c1aeb708ca6ab7
parentf4f689933c63e0fbfba62f2a80efb2b424b139ae
crypto: ixp4xx - Fix handling of chained sg buffers

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