crypto: ccree - pm resume first enable the source clk
authorOfir Drang <ofir.drang@arm.com>
Thu, 18 Apr 2019 13:39:06 +0000 (16:39 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Apr 2019 07:38:16 +0000 (15:38 +0800)
commit7766dd774d80463cec7b81d90c8672af91de2da1
tree994da8addcf8e999861fc06a9dae20c2d45b0c3c
parente8662a6a5f8f7f2cadc0edb934aef622d96ac3ee
crypto: ccree - pm resume first enable the source clk

On power management resume function first enable the device clk source
to allow access to the device registers.

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