diff options
author | 2024-09-06 10:39:56 +0800 | |
---|---|---|
committer | 2024-09-19 12:51:19 +0200 | |
commit | 438efb23f9581659495b85f1f6c7d5946200660c (patch) | |
tree | c767452ad9bf1744a272862e5f7fc6b900ab9f8d /drivers/spi/spi-fsl-lpspi.c | |
parent | spi: airoha: fix airoha_snand_{write,read}_data data_len estimation (diff) | |
download | wireguard-linux-438efb23f9581659495b85f1f6c7d5946200660c.tar.xz wireguard-linux-438efb23f9581659495b85f1f6c7d5946200660c.zip |
spi: atmel-quadspi: 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: 4a2f83b7f780 ("spi: atmel-quadspi: add runtime pm support")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://patch.msgid.link/20240906023956.1004440-1-ruanjinjie@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-fsl-lpspi.c')
0 files changed, 0 insertions, 0 deletions