diff options
author | Łukasz Stelmach <l.stelmach@samsung.com> | 2021-05-05 20:29:14 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-05-14 19:07:56 +0800 |
commit | 0cdbabf8bb7a6147f5adf37dbc251e92a1bbc2c7 (patch) | |
tree | a5fb77d258334fd4db9d41214fa12dca225edd19 /drivers/atm/he.h | |
parent | b51dcf05c1e96caccda769f3a60042d77f1a3a7d (diff) |
hwrng: exynos - Fix runtime PM imbalance on error
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>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/atm/he.h')
0 files changed, 0 insertions, 0 deletions