crypto: caam - fix DMA mapping xcbc key twice
authorHoria Geantă <horia.geanta@nxp.com>
Tue, 19 Feb 2019 14:56:56 +0000 (16:56 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 Feb 2019 06:17:58 +0000 (14:17 +0800)
commit8e731ee5e2a5aa37b736c05ee2562e1169af866e
tree820a3588fe5f8164f33966bfe4fcc911cd0574cc
parent65055e2108847af5e577cc7ce6bde45ea136d29a
crypto: caam - fix DMA mapping xcbc key twice

Fix a side effect of adding xcbc support, which leads to DMA mapping the
key twice.

Fixes: 12b8567f6fa4 ("crypto: caam - add support for xcbc(aes)")
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamhash.c