Skip to content
Unverified Commit f04b4fb4 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Mark Brown
Browse files

ASoC: sh: rz-ssi: Check return value of pm_runtime_resume_and_get()



The return value of pm_runtime_resume_and_get() needs to be checked to
avoid a usage count imbalance in the error case. This fix is basically
the same as 92c959ba ("reset: renesas: Fix Runtime PM usage"),
and the last step before pm_runtime_resume_and_get() can be annotated
as __must_check.

Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/9fed506d-b780-55cd-45a4-9bd2407c910f@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4941cd7c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment