diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-04-21 17:00:34 +0200 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2025-05-23 08:48:54 +0100 |
| commit | b70b84556eeca5262d290e8619fe0af5b7664a52 (patch) | |
| tree | 8a633c2517672fab096322d6a895e001b2e98683 | |
| parent | 484f0f59f09edd1f6fa63703c12eb30d72a519ac (diff) | |
mfd: exynos-lpass: Avoid calling exynos_lpass_disable() twice in exynos_lpass_remove()
exynos_lpass_disable() is called twice in the remove function. Remove
one of these calls.
Fixes: 90f447170c6f ("mfd: exynos-lpass: Add runtime PM support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/74d69e8de10308c9855db6d54155a3de4b11abfd.1745247209.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Lee Jones <lee@kernel.org>
| -rw-r--r-- | drivers/mfd/exynos-lpass.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/exynos-lpass.c b/drivers/mfd/exynos-lpass.c index 6b95927e99be..a2785ceea8bf 100644 --- a/drivers/mfd/exynos-lpass.c +++ b/drivers/mfd/exynos-lpass.c @@ -141,7 +141,6 @@ static void exynos_lpass_remove(struct platform_device *pdev) { struct exynos_lpass *lpass = platform_get_drvdata(pdev); - exynos_lpass_disable(lpass); pm_runtime_disable(&pdev->dev); if (!pm_runtime_status_suspended(&pdev->dev)) exynos_lpass_disable(lpass); |
