summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/Kconfig
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe.montjoie@gmail.com>2019-09-24 10:08:32 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-10-05 01:06:21 +1000
commit554c42b4efd486c322a46420f9cf0f6c767ac02c (patch)
tree4661f0436751c31f17198a50e5325958674710ab /drivers/crypto/Kconfig
parent70dd444ad0a023d853b5d84e68226a792bb17a82 (diff)
downloadlinux-554c42b4efd486c322a46420f9cf0f6c767ac02c.tar.gz
linux-554c42b4efd486c322a46420f9cf0f6c767ac02c.tar.bz2
linux-554c42b4efd486c322a46420f9cf0f6c767ac02c.zip
crypto: sun4i-ss - enable pm_runtime
This patch enables power management on the Security System. sun4i-ss now depends on PM because it simplify code and prevent some ifdef. But this is not a problem since arch maintainer want ARCH_SUNXI to depend on PM in the future. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Acked-by: Maxime Ripard <mripard@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
-rw-r--r--drivers/crypto/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index a467b1631c99..3e51bae191ec 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -660,6 +660,7 @@ config CRYPTO_DEV_IMGTEC_HASH
config CRYPTO_DEV_SUN4I_SS
tristate "Support for Allwinner Security System cryptographic accelerator"
depends on ARCH_SUNXI && !64BIT
+ depends on PM
select CRYPTO_MD5
select CRYPTO_SHA1
select CRYPTO_AES