crypto: ccp - unmap pages and remove unmap objects in callback
authoramd <amd@sosxen2.amd.com>
Tue, 5 Sep 2017 22:01:51 +0000 (17:01 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 7 Oct 2017 04:10:29 +0000 (12:10 +0800)
commit01c4c097bcdbf3c3ea288d22f00f469ac139b7bc
treecd148569ff1016de7d5ac18492a51209ed61c26c
parentf0e2ce58f853634d7ad1a418a49bd5fbd556227c
crypto: ccp - unmap pages and remove unmap objects in callback

Clean up the mapped pages and the unmap object once we are done with
it. This enables the final clean-up of the object once the transfer
is complete.

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-dmaengine.c