Skip to content
Commit 1e320410 authored by Mogens Lauridsen's avatar Mogens Lauridsen Committed by Herbert Xu
Browse files

crypto: sahara - Fix dma unmap direction



The direction used in dma_unmap_sg in aes calc is wrong.
This result in the cache not being invalidated correct when aes
calculation is done and result has been dma'ed to memory.
This is seen as sporadic wrong result from aes calc.

Signed-off-by: default avatarMogens Lauridsen <mlauridsen171@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 2d97591e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment