Łukasz Stelmach f4c8a00d61 hwrng: exynos - Fix runtime PM imbalance on error
[ Upstream commit 0cdbabf8bb7a6147f5adf37dbc251e92a1bbc2c7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:53:11 +02:00
..
2018-06-05 11:24:55 -07:00
2019-06-09 09:11:21 +02:00
2019-12-13 08:42:17 +01:00
2019-08-16 11:33:56 -07:00
2019-12-17 19:56:41 +01:00
2021-03-04 10:26:11 +01:00