Skip to content
Commit 3d6b6613 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: stm32 - Revert broken pm_runtime_resume_and_get changes



We should not call pm_runtime_resume_and_get where the reference
count is expected to be incremented unconditionally.  This patch
reverts these calls to the original unconditional get_sync call.

Reported-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Fixes: 747bf30f ("crypto: stm32/cryp - Fix PM reference leak...")
Fixes: 1cb3ad70 ("crypto: stm32/hash - Fix PM reference leak...")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Acked-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 710ce4b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment