OSDN Git Service

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)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Apr 2019 07:38:16 +0000 (15:38 +0800)
commit3499efbeed39d114873267683b9e776bcb34b058
tree2a29f1b8bc99add7c180992bb86b5a03432566ef
parent1fc165721be84001d124132947775360bc301511
crypto: ccree - HOST_POWER_DOWN_EN should be the last CC access during suspend

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>
drivers/crypto/ccree/cc_pm.c