summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/marvell
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2017-10-11 09:16:19 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2017-11-03 09:53:30 -0400
commit27b43fd95b144484713855c6d4fe832d22e48838 (patch)
tree030d6f5e0e0f369152317d79a624848d4986ff59 /drivers/crypto/marvell
parent729ec4c57d5fbed25b800fc1fc35f9f1f676c810 (diff)
crypto: marvell - Remove the old mv_cesa driver
All defconfigs selecting the old driver have been patched to select the new one instead. We can now remove the old driver along with the allhwsupports module parameter in the new driver that was used to check whether the new driver was allowed to take control of the CESA engine or not. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/marvell')
-rw-r--r--drivers/crypto/marvell/cesa.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/crypto/marvell/cesa.c b/drivers/crypto/marvell/cesa.c
index 1135cac869ac..d713d9697378 100644
--- a/drivers/crypto/marvell/cesa.c
+++ b/drivers/crypto/marvell/cesa.c
@@ -34,10 +34,6 @@
34/* Limit of the crypto queue before reaching the backlog */ 34/* Limit of the crypto queue before reaching the backlog */
35#define CESA_CRYPTO_DEFAULT_MAX_QLEN 128 35#define CESA_CRYPTO_DEFAULT_MAX_QLEN 128
36 36
37static int allhwsupport = !IS_ENABLED(CONFIG_CRYPTO_DEV_MV_CESA);
38module_param_named(allhwsupport, allhwsupport, int, 0444);
39MODULE_PARM_DESC(allhwsupport, "Enable support for all hardware (even it if overlaps with the mv_cesa driver)");
40
41struct mv_cesa_dev *cesa_dev; 37struct mv_cesa_dev *cesa_dev;
42 38
43struct crypto_async_request * 39struct crypto_async_request *
@@ -457,9 +453,6 @@ static int mv_cesa_probe(struct platform_device *pdev)
457 caps = match->data; 453 caps = match->data;
458 } 454 }
459 455
460 if ((caps == &orion_caps || caps == &kirkwood_caps) && !allhwsupport)
461 return -ENOTSUPP;
462
463 cesa = devm_kzalloc(dev, sizeof(*cesa), GFP_KERNEL); 456 cesa = devm_kzalloc(dev, sizeof(*cesa), GFP_KERNEL);
464 if (!cesa) 457 if (!cesa)
465 return -ENOMEM; 458 return -ENOMEM;