diff options
| author | Jinjie Ruan <[email protected]> | 2024-09-09 07:31:39 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-09-09 11:57:32 +0000 |
| commit | 89e362c883c65ff94b76b9862285f63545fb5274 (patch) | |
| tree | ad45cc0a92320627664edb803bee34378f60236a /lib/crypto/mpi/mpi-mul.c | |
| parent | MAINTAINERS: SPI: Add mailing list [email protected] for nxp spi drivers (diff) | |
| download | kernel-89e362c883c65ff94b76b9862285f63545fb5274.tar.gz kernel-89e362c883c65ff94b76b9862285f63545fb5274.zip | |
spi: geni-qcom: 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, switch to devm_pm_runtime_enable() to fix it, so the
pm_runtime_disable() in probe error path and remove function
can be removed.
Fixes: cfdab2cd85ec ("spi: spi-geni-qcom: Set an autosuspend delay of 250 ms")
Signed-off-by: Jinjie Ruan <[email protected]>
Suggested-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions
