]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: caam - Enable and disable clocks on Freescale i.MX platforms
authorVictoria Milhoan <vicki.milhoan@freescale.com>
Wed, 5 Aug 2015 18:28:37 +0000 (11:28 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Aug 2015 15:18:56 +0000 (23:18 +0800)
commit92a27b5796f6d6ce3c7ee63204999447efe0ca7f
treee7ccf92b737dfbfd3c49a7e014c72d6c13d7771a
parent7b2f647b58f1ce6d9dd85998750a66ba7cdcb84b
crypto: caam - Enable and disable clocks on Freescale i.MX platforms

ARM-based systems may disable clocking to the CAAM device on the
Freescale i.MX platform for power management purposes.  This patch
enables the required clocks when the CAAM module is initialized and
disables the required clocks when the CAAM module is shut down.

Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com>
Tested-by: Horia Geantă <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/compat.h
drivers/crypto/caam/ctrl.c
drivers/crypto/caam/intern.h