crypto: rockchip: change hardware crypto driver's priority

Decrease RK_CRYPTO_PRIORITY from 300 to 0.Hardware driver
will only invoked by user layer through the driver name.

Change-Id: Ifeda13a2b9ce6fec6be60a2422b7507f91eedbb5
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
This commit is contained in:
Lin Jinhan
2021-07-05 11:03:33 +08:00
parent 77ef9507ad
commit 031470058a

View File

@@ -29,7 +29,11 @@
#include "rk_crypto_bignum.h"
#define RK_CRYPTO_PRIORITY 300
/*
* Change to the lowest priority, and hardware encryption is
* invoked explicitly only at the User layer.
*/
#define RK_CRYPTO_PRIORITY 0
/* Increase the addr_vir buffer size from 1 to 8 pages */
#define RK_BUFFER_ORDER 3