]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: ccree - HOST_POWER_DOWN_EN should be the last CC access during suspend
authorOfir Drang <ofir.drang@arm.com>
Thu, 18 Apr 2019 13:39:08 +0000 (16:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 May 2019 05:37:39 +0000 (07:37 +0200)
commit65f5c14a60118e97bbd8fc1f78232c6ceb0efd63
tree60f76f663610c01c6afe3a65c088d62362d8dfa6
parent1a4fc3d29632fe86ee461dee9ca8ab26aaa95806
crypto: ccree - HOST_POWER_DOWN_EN should be the last CC access during suspend

commit 3499efbeed39d114873267683b9e776bcb34b058 upstream.

During power management suspend the driver need to prepare the device
for the power down operation and as a last indication write to the
HOST_POWER_DOWN_EN register which signals to the hardware that
The ccree is ready for power down.

Signed-off-by: Ofir Drang <ofir.drang@arm.com>
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/ccree/cc_pm.c