Loading
regulator: fp9931: Fix PM runtime reference leak in fp9931_hwmon_read()
In fp9931_hwmon_read(), if regmap_read() failed, the function returned the error code without calling pm_runtime_put_autosuspend(), causing a PM reference leak. Fixes: 12d821bd ("regulator: Add FP9931/JD9930 driver") Signed-off-by:Felix Gu <ustc.gu@gmail.com> Reviewed-by:
Andreas Kemnade <andreas@kemnade.info> Link: https://patch.msgid.link/20260224-fp9931-v1-1-1cf05cabef4a@gmail.com Signed-off-by:
Mark Brown <broonie@kernel.org>