diff options
author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2023-09-07 20:10:08 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-09-11 13:34:40 +0100 |
commit | 486465508f8a5fe441939a7d97607f4460a60891 (patch) | |
tree | 8e65ef5399bc3e36de33cabf669ac0a9e397a23e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 611b8813a28f49e206e05198dae77c544c72b050 (diff) |
ALSA: hda: cs35l41: Fix unbalanced pm_runtime_get()
If component_add() fails, probe() returns without calling
pm_runtime_put(), which leaves the runtime PM usage counter incremented.
Fix the issue by jumping to err_pm label and drop the now unnecessary
pm_runtime_disable() call.
Fixes: 7b2f3eb492da ("ALSA: hda: cs35l41: Add support for CS35L41 in HDA systems")
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20230907171010.1447274-10-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions