Re: [PATCH] crypto: rockchip: Don't dequeue the request when device is busy

2017-08-22 Thread Herbert Xu
On Tue, Aug 15, 2017 at 03:48:15PM +0800, zain wang wrote: > 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 Patch applied. Thanks.

[PATCH] crypto: rockchip: Don't dequeue the request when device is busy

2017-08-15 Thread zain wang
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 --- drivers/crypto/rockchip/rk3288_crypto.c| 46 ++- drivers/crypto/rockchip