From: Victoria Milhoan Date: Mon, 15 Jun 2015 23:52:57 +0000 (-0700) Subject: crypto: caam - Fix incorrect size when DMA unmapping buffer X-Git-Tag: omap-for-v4.3/legacy-v2-signed~193^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8af7b0f809a3d34657433ec545d64dff9808ce34;p=pandora-kernel.git crypto: caam - Fix incorrect size when DMA unmapping buffer The CAAM driver uses two data buffers to store data for a hashing operation, with one buffer defined as active. This change forces switching of the active buffer when executing a hashing operation to avoid a later DMA unmap using the length of the opposite buffer. Signed-off-by: Victoria Milhoan Signed-off-by: Herbert Xu --- Reading git-diff-tree failed