]> git.baikalelectronics.ru Git - kernel.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)
commit6896757cd2606b1d03d829fb2800a784cc5a0a8f
tree649a896c3b9c6e3e3520574aeaf769f68e5f55a0
parent68e2dfb709b42d61e164ef79f301434e609bbf1f
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