crypto: rockchip - move the crypto completion from interrupt context
authorZain Wang <wzz@rock-chips.com>
Mon, 24 Jul 2017 01:23:13 +0000 (09:23 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 3 Aug 2017 06:00:22 +0000 (14:00 +0800)
commit641eacd15696a65b08880985701c8082872da136
treef827ca09e20224a0622aa816ead526f6d9e80709
parent1d5449445bd0afbc003518543873c7198a09728b
crypto: rockchip - move the crypto completion from interrupt context

It's illegal to call the completion function from hardirq context,
it will cause runtime tests to fail. Let's build a new task (done_task)
for moving update operation from hardirq context.

Signed-off-by: zain wang <wzz@rock-chips.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/rockchip/rk3288_crypto.c
drivers/crypto/rockchip/rk3288_crypto.h
drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c
drivers/crypto/rockchip/rk3288_crypto_ahash.c