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: Mogens Lauridsen <mlauridsen...@gmail.
This driver previously used a spinlock. The spinlock is not
used any more, but the spinlock variable was still there
and also being initialized.
Signed-off-by: Mogens Lauridsen <mlauridsen...@gmail.com>
---
drivers/crypto/sahara.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/d
Hi,
The Freescale sahara driver has previously used a spinlock. This
spinlock has been removed, but the spinlock variable is still there
and is also being initialized. This patch removes the leftover.
Thanks,
Mogens Lauridsen
Signed-off-by: Mogens Lauridsen <mlauridsen...@gmail.com>
diff
Hi,
The direction used in dma_unmap_sg in aes calc in sahara.c is wrong.
This result in the cache not being invalidated correct when aes
calculation is done and result is dma'ed to memory.
This is seen as sporadic wrong result from aes calc.
Thanks,
Mogens
Signed-off-by: Mogens Lauridsen