diff options
author | 2024-09-23 12:00:13 +0800 | |
---|---|---|
committer | 2024-09-30 21:54:59 +0100 | |
commit | b6e05ba0844139dde138625906015c974c86aa93 (patch) | |
tree | ccad3840c25cf3eb98172e45a6c52e054d3b2b73 /drivers/usb/cdns3/cdns3-debug.h | |
parent | Linux 6.12-rc1 (diff) | |
download | wireguard-linux-b6e05ba0844139dde138625906015c974c86aa93.tar.xz wireguard-linux-b6e05ba0844139dde138625906015c974c86aa93.zip |
spi: spi-imx: Fix pm_runtime_set_suspended() with runtime pm enabled
It is not valid to call pm_runtime_set_suspended() for devices
with runtime PM enabled because it returns -EAGAIN if it is enabled
already and working. So, call pm_runtime_disable() before to fix it.
Fixes: 43b6bf406cd0 ("spi: imx: fix runtime pm support for !CONFIG_PM")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://patch.msgid.link/20240923040015.3009329-2-ruanjinjie@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions