]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: omap-sham - drop suspend and resume functions
authorTony Lindgren <tony@atomide.com>
Tue, 27 Jul 2021 10:23:38 +0000 (13:23 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 6 Aug 2021 11:45:24 +0000 (19:45 +0800)
commit61f22bf25267a5a3148e22f29b24d25d789db341
tree771ef19f100e14aa0347a1de30656c40a5d57946
parenta7e92cc39429a1d3532c3b41e18a15954d4daefb
crypto: omap-sham - drop suspend and resume functions

Let's get rid of the suspend and resume calls to runtime PM as these calls
do not idle the hardware. The runtime suspend has been disabled for
system suspend since commit 74b097e5d854 ("PM: Prevent runtime suspend
during system resume").

Instead of runtime PM, the system suspend and resume functions should call
driver internal shared functions to idle the hardware as needed.

Cc: Lokesh Vutla <lokeshvutla@ti.com>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-sham.c