commit | eff9771d51529acf7f6f58a60b2923b98da28f0e | [log] [tgz] |
---|---|---|
author | Iuliana Prodan <iuliana.prodan@nxp.com> | Thu Sep 26 15:26:29 2019 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat Oct 05 01:06:21 2019 +1000 |
tree | b4a5a40c36e5d294751ce7b5ceace6da903744c4 | |
parent | 554c42b4efd486c322a46420f9cf0f6c767ac02c [diff] |
crypto: caam - use mapped_{src,dst}_nents for descriptor The mapped_{src,dst}_nents _returned_ from the dma_map_sg call (which could be less than src/dst_nents) have to be used to generate the job descriptors. Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Reviewed-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>