diff options
author | 2025-04-21 17:00:35 +0200 | |
---|---|---|
committer | 2025-05-23 08:48:55 +0100 | |
commit | f41cc37f4bc0e8cd424697bf6e26586cadcf4b9b (patch) | |
tree | 8347df4d5ea0a93b5a7345cd5d88013375920ca3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mfd: exynos-lpass: Avoid calling exynos_lpass_disable() twice in exynos_lpass_remove() (diff) | |
download | linux-rng-f41cc37f4bc0e8cd424697bf6e26586cadcf4b9b.tar.xz linux-rng-f41cc37f4bc0e8cd424697bf6e26586cadcf4b9b.zip |
mfd: exynos-lpass: Fix another error handling path in exynos_lpass_probe()
If devm_of_platform_populate() fails, some clean-up needs to be done, as
already done in the remove function.
Add a new devm_add_action_or_reset() to fix the leak in the probe and
remove the need of a remove function.
Fixes: c695abab2429 ("mfd: Add Samsung Exynos Low Power Audio Subsystem driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/69471e839efc0249a504492a8de3497fcdb6a009.1745247209.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions