summaryrefslogtreecommitdiff
path: root/drivers/crypto/mv_cesa.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2016-08-04 13:28:42 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-09-13 20:22:06 +0800
commitf303b455bb95233297c179b525a851a792e469b2 (patch)
tree5e820d3a589b8c7f132ce04d4bd54b42dbd9963a /drivers/crypto/mv_cesa.h
parentcb8d5c8346640f3622bc832fede4b514096f762e (diff)
crypto: omap-aes - use runtime_pm autosuspend for clock handling
Calling runtime PM API at the cra_init/exit is bad for power management purposes, as the lifetime for a CRA can be very long. Instead, use pm_runtime autosuspend approach for handling the device clocks. Clocks are enabled when they are actually required, and autosuspend disables these if they have not been used for a sufficiently long time period. By default, the timeout value is 1 second. Signed-off-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/mv_cesa.h')
0 files changed, 0 insertions, 0 deletions