Jinjie Ruan 3b577de206
spi: spi-fsl-lpspi: Undo runtime PM changes at driver exit time
It's important to undo pm_runtime_use_autosuspend() with
pm_runtime_dont_use_autosuspend() at driver exit time unless driver
initially enabled pm_runtime with devm_pm_runtime_enable()
(which handles it for you).

Hence, call pm_runtime_dont_use_autosuspend() at driver exit time
to fix it.

Fixes: 944c01a889d9 ("spi: lpspi: enable runtime pm for lpspi")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://patch.msgid.link/20240906021251.610462-1-ruanjinjie@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-09-19 12:51:20 +02:00
..
2024-07-08 17:01:10 +01:00
2024-09-12 12:38:44 +01:00
2024-09-12 12:38:44 +01:00
2024-07-08 17:01:10 +01:00
2024-06-25 20:04:31 +01:00
2024-07-15 18:03:43 -07:00
2024-09-02 12:56:31 +01:00
2024-06-11 11:38:25 +01:00
2023-08-21 14:29:37 +01:00
2024-07-05 18:47:46 +01:00
2024-09-12 12:38:44 +01:00
2024-09-12 12:38:44 +01:00