diff options
| author | Felix Gu <ustc.gu@gmail.com> | 2026-02-24 18:07:59 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-02-24 17:31:54 +0000 |
| commit | 0902010c8d163f7b62e655efda1a843529152c7c (patch) | |
| tree | d1227b9e161421790adfd976c825bce2fedb9edb /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 4b73231b2a61c4142a027613d277a19c484dfcc3 (diff) | |
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: 12d821bd13d4 ("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>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
