[PATCH 00/11] spi: remove redundant pm_runtime_dont_use_autosuspend() calls

Joshua Crofts crofts at kernel.org
Sun Nov 8 04:16:47 PST 2026


Since commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"),
driver core is now responsible for undoing any
pm_runtime_use_autosuspend() calls on driver exit.

Remove the redundant function calls.

NOTE: Some drivers in drivers/spi/ (fsl-lpspi, imx, nxp-fspi, omap2-mcspi,
rpc-if) still keep their calls because they either rely on
pm_runtime_dont_use_autosuspend() before pm_runtime_disable() to flush
pending autosuspend delays and trigger synchronous runtime suspension,
or operate on a parent device rather than the platform device itself.

Signed-off-by: Joshua Crofts <crofts at kernel.org>
---
Joshua Crofts (11):
      spi: axiado: remove redundant pm_runtime_dont_use_autosuspend() calls
      spi: cadence-quadspi: remove redundant pm_runtime_dont_use_autosuspend() calls
      spi: cadence: remove redundant pm_runtime_dont_use_autosuspend() calls
      spi: stm32: remove redundant pm_runtime_dont_use_autosuspend() calls
      spi: stm32-qspi: remove redundant pm_runtime_dont_use_autosuspend() calls
      spi: zynqmp-gqspi: remove redundant pm_runtime_dont_use_autosuspend() calls
      spi: mtk-nor: remove redundant pm_runtime_dont_use_autosuspend() calls
      spi: orion: remove redundant pm_runtime_dont_use_autosuspend() calls
      spi: rockchip-sfc: remove redundant pm_runtime_dont_use_autosuspend() calls
      spi: rtk-nor: remove redundant pm_runtime_dont_use_autosuspend() calls
      spi: tegra210-quad: remove redundant pm_runtime_dont_use_autosuspend() calls

 drivers/spi/spi-axiado.c          | 2 --
 drivers/spi/spi-cadence-quadspi.c | 2 --
 drivers/spi/spi-cadence.c         | 2 --
 drivers/spi/spi-mtk-nor.c         | 2 --
 drivers/spi/spi-orion.c           | 2 --
 drivers/spi/spi-rockchip-sfc.c    | 2 --
 drivers/spi/spi-rtk-nor.c         | 2 --
 drivers/spi/spi-stm32-qspi.c      | 2 --
 drivers/spi/spi-stm32.c           | 2 --
 drivers/spi/spi-tegra210-quad.c   | 2 --
 drivers/spi/spi-zynqmp-gqspi.c    | 2 --
 11 files changed, 22 deletions(-)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261108-spi-dont-use-autosuspend-9997b4f65edd

Best regards,
-- 
Joshua Crofts




More information about the Linux-rockchip mailing list