]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: caam - refactor ahash_done callbacks
authorIuliana Prodan <iuliana.prodan@nxp.com>
Wed, 12 Feb 2020 17:55:17 +0000 (19:55 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 22 Feb 2020 01:25:47 +0000 (09:25 +0800)
commit36fbca36236f9b5af6d90e88bdd23b60be93f532
tree7d2f1aff2c82d051547f530c53585d4a979041bf
parent8389553449f0cfb3b02210093925e47969097ed5
crypto: caam - refactor ahash_done callbacks

Create two common ahash_done_* functions with the dma
direction as parameter. Then, these 2 are called with
the proper direction for unmap.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Horia Geanta <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamhash.c