commit | 00c9211f60db2dead16856f81a3e6ab86b31f275 | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Wed Sep 23 13:11:44 2020 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Oct 02 18:02:13 2020 +1000 |
tree | 8e96e66d2e721c529798b41d51b601eb1be468af | |
parent | 4fc983266d1eef951a7f44cb70288e331356dca0 [diff] |
crypto: sa2ul - Fix DMA mapping API usage Make sure that we call the dma_unmap_sg on the correct scatterlist on completion with the correct sg_nents. Use sg_table to managed the DMA mapping and at the same time add the needed dma_sync calls for the sg_table. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>