]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
crypto: marvell/cesa - rearrange last request handling
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 18 Oct 2015 16:24:37 +0000 (17:24 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Oct 2015 14:11:08 +0000 (22:11 +0800)
commit58953e15ef015ba9136b7234a7098cf827428999
tree649a896c3b9c6e3e3520574aeaf769f68e5f55a0
parente41bbebddec44f7c06585f42686b2a529513fc6a
crypto: marvell/cesa - rearrange last request handling

Move the test for the last request out of mv_cesa_ahash_dma_last_req()
to its caller, and move the mv_cesa_dma_add_frag() down into this
function.

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