summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVutla, Lokesh <lokeshvutla@ti.com>2015-07-07 21:01:44 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2015-07-08 15:18:43 +0800
commit6e2e3d1de45214fe5538318a208f2f7ccc617e4c (patch)
tree5d6a0bc3eedd6d5286668b5f8c712fa86a2efc5c /drivers
parent310b0d55f0301908461191db392ecee01735b3ec (diff)
downloadlinux-6e2e3d1de45214fe5538318a208f2f7ccc617e4c.tar.gz
linux-6e2e3d1de45214fe5538318a208f2f7ccc617e4c.tar.bz2
linux-6e2e3d1de45214fe5538318a208f2f7ccc617e4c.zip
crypto: omap-aes - Increase priority of hw accelerator
Increasing the priority of omap-aes hw algos, in order to take precedence over sw algos. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/crypto/omap-aes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c
index 4a0e808b4fba..54925d98b12f 100644
--- a/drivers/crypto/omap-aes.c
+++ b/drivers/crypto/omap-aes.c
@@ -834,7 +834,7 @@ static struct crypto_alg algs_ecb_cbc[] = {
{
.cra_name = "ecb(aes)",
.cra_driver_name = "ecb-aes-omap",
- .cra_priority = 100,
+ .cra_priority = 300,
.cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER |
CRYPTO_ALG_KERN_DRIVER_ONLY |
CRYPTO_ALG_ASYNC,
@@ -856,7 +856,7 @@ static struct crypto_alg algs_ecb_cbc[] = {
{
.cra_name = "cbc(aes)",
.cra_driver_name = "cbc-aes-omap",
- .cra_priority = 100,
+ .cra_priority = 300,
.cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER |
CRYPTO_ALG_KERN_DRIVER_ONLY |
CRYPTO_ALG_ASYNC,
@@ -882,7 +882,7 @@ static struct crypto_alg algs_ctr[] = {
{
.cra_name = "ctr(aes)",
.cra_driver_name = "ctr-aes-omap",
- .cra_priority = 100,
+ .cra_priority = 300,
.cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER |
CRYPTO_ALG_KERN_DRIVER_ONLY |
CRYPTO_ALG_ASYNC,