crypto: omap-des - use runtime_pm autosuspend for clock handling
authorTero Kristo <t-kristo@ti.com>
Wed, 24 May 2017 07:35:25 +0000 (10:35 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 10 Jun 2017 04:04:14 +0000 (12:04 +0800)
commit418f2a8cf2ebb817a2b98cb4829c13d374e06932
tree8c7b7b202273f2fba98375a01178df20859ada11
parenta636fdce55c6ad12b07436424ceffad1045714db
crypto: omap-des - use runtime_pm autosuspend for clock handling

Convert the driver to use autosuspend for runtime_pm. This boosts the
performance, and optimizes the power consumption for the driver. By
default, the timeout value for autosuspend is set to one second.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-des.c