]> asedeno.scripts.mit.edu Git - linux.git/commit
crypto: rockchip - Don't dequeue the request when device is busy
authorZain Wang <wzz@rock-chips.com>
Tue, 15 Aug 2017 07:48:15 +0000 (15:48 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 22 Aug 2017 06:54:54 +0000 (14:54 +0800)
commit5a7801f6634b1e2888bcb1a85bedc50e46dcd757
tree8ce1aca11dfb13223b75f49efcdba7303e8c6805
parentbaf5b752dae2b7c84b3fa5ffb0eb41648d659c09
crypto: rockchip - Don't dequeue the request when device is busy

The device can only process one request at a time. So if multiple
requests came at the same time, we can enqueue them first, and
dequeue them one by one when the device is idle.

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