Skip to content
Commit ade18fb4 authored by Xiang Chen's avatar Xiang Chen Committed by Herbert Xu
Browse files

crypto: ux500 - Fix the parameter of dma_unmap_sg()



For function dma_unmap_sg(), the <nents> parameter should be number of
elements in the scatterlist prior to the mapping, not after the mapping.
So fix this usage.

Signed-off-by: default avatarXiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent c114ecd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment