crypto: img-hash - Add suspend resume hooks for img hash
authorGovindraj Raja <Govindraj.Raja@imgtec.com>
Fri, 5 Aug 2016 13:00:17 +0000 (14:00 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Aug 2016 10:47:21 +0000 (18:47 +0800)
commitd084e13a1395cf65d105fb79911329750500f8c5
tree15ff37fedf80a4b15d5d1fbf6beea4ef9b728056
parent302a1bee8fd71b01bcf4ca8395c115a60cef52bf
crypto: img-hash - Add suspend resume hooks for img hash

Current img hash claims sys and periph gate clocks
and this can be gated in system suspend scenarios.

Add support for Device pm ops for img hash to gate
the clocks claimed by img hash.

Signed-off-by: Govindraj Raja <Govindraj.Raja@imgtec.com>
Reviewed-by: Will Thomas <will.thomas@imgtec.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/img-hash.c