commit | 838e0a89e33a6e15492b8e4d700fc64c21ca3587 | [log] [tgz] |
---|---|---|
author | Horia Geantă <horia.geanta@nxp.com> | Fri Feb 10 14:07:20 2017 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Feb 15 13:23:40 2017 +0800 |
tree | 78bcca5ecd87226b07472e82065695e298d27fc3 | |
parent | fa0c92db1eb818a36c1b837b5f6da7e95b181247 [diff] |
crypto: caam - use dma_map_sg() return code dma_map_sg() might coalesce S/G entries, so use the number of S/G entries returned by it instead of what sg_nents_for_len() initially returns. Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>