Thread (3 messages) flat view 3 messages, 3 authors, 2021-05-14

Re: [PATCH v3] hwrng: exynos - Fix runtime PM imbalance on error

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2021-05-14 11:35:46
Also in: linux-crypto, linux-samsung-soc, lkml

On Wed, May 05, 2021 at 08:29:14PM +0200, Łukasz Stelmach wrote:
pm_runtime_resume_and_get() wraps around pm_runtime_get_sync() and
decrements the runtime PM usage counter in case the latter function
fails and keeps the counter balanced.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
---
Changes in v3:
  - use pm_runtime_resume_and_get()

Changes in v2:
  - removed Change-Id from the commit message

 drivers/char/hw_random/exynos-trng.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Patch applied.  Thanks.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help