crypto: marvell/cesa - move mv_cesa_dma_add_frag() calls
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 18 Oct 2015 16:24:16 +0000 (17:24 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Oct 2015 14:11:06 +0000 (22:11 +0800)
commit0971d09a8566abd6640acdbe3fd304e67e257bd3
tree2ef65aeb95e6632552f2d1665e7e30d65c5df464
parent2f396a91d1d01a423fd87b7c6ff71600d06b9c05
crypto: marvell/cesa - move mv_cesa_dma_add_frag() calls

Move the calls to mv_cesa_dma_add_frag() into the parent function,
mv_cesa_ahash_dma_req_init().  This is in preparation to changing
when we generate the operation blocks, as we need to avoid generating
a block for a partial hash block at the end of the user data.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/hash.c