diff options
| author | Jinjie Ruan <[email protected]> | 2024-09-23 04:00:13 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-09-30 20:54:59 +0000 |
| commit | b6e05ba0844139dde138625906015c974c86aa93 (patch) | |
| tree | ccad3840c25cf3eb98172e45a6c52e054d3b2b73 /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
| parent | Linux 6.12-rc1 (diff) | |
| download | kernel-b6e05ba0844139dde138625906015c974c86aa93.tar.gz kernel-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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions
