]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ba01411703da71884b6ed1cad3e298ec3ef1ddd
tree15ff37fedf80a4b15d5d1fbf6beea4ef9b728056
parent31dd24df178dfbc026c27f9c34d72799ef10d50e
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