From: Leilei Zhao Date: Tue, 7 Apr 2015 09:45:11 +0000 (+0800) Subject: crypto: atmel-aes - correct usage of dma_sync_* API X-Git-Tag: omap-for-v4.2/o2_dc~130^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cd223239a79df3cc758ecabb8473ca91599021b;p=pandora-kernel.git crypto: atmel-aes - correct usage of dma_sync_* API The output buffer is used for CPU access, so the API should be dma_sync_single_for_cpu which makes the cache line invalid in order to reload the value in memory. Signed-off-by: Leilei Zhao Acked-by: Nicolas Ferre Signed-off-by: Herbert Xu --- Reading git-diff-tree failed