summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorJinjie Ruan <ruanjinjie@huawei.com>2024-09-06 05:12:51 +0300
committerMark Brown <broonie@kernel.org>2024-09-19 13:51:20 +0300
commit3b577de206d52dbde9428664b6d823d35a803d75 (patch)
tree2f55336a691b220c6bdf232e17e02257b0abdd09 /rust/helpers/build_bug.c
parent438efb23f9581659495b85f1f6c7d5946200660c (diff)
downloadlinux-3b577de206d52dbde9428664b6d823d35a803d75.tar.xz
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>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions