mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joshua Crofts <crofts@kernel.org>
To: Vladimir Moravcevic <vmoravcevic@axiado.com>,
	 Tzu-Hao Wei <twei@axiado.com>, Swark Yang <syang@axiado.com>,
	 Prasad Bolisetty <pbolisetty@axiado.com>,
	Mark Brown <broonie@kernel.org>,
	 Karthikeyan Mitran <kmitran@axiado.com>,
	 Alain Volmat <alain.volmat@foss.st.com>,
	 Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	 Alexandre Torgue <alexandre.torgue@foss.st.com>,
	 Michal Simek <michal.simek@amd.com>,
	 Matthias Brugger <matthias.bgg@gmail.com>,
	 AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	 Heiko Stuebner <heiko@sntech.de>,
	Jyan Chou <jyanchou@realtek.com>,
	 Yu-Chun Lin <eleanor.lin@realtek.com>,
	 Laxman Dewangan <ldewangan@nvidia.com>,
	 Thierry Reding <thierry.reding@kernel.org>,
	 Jonathan Hunter <jonathanh@nvidia.com>,
	 Sowjanya Komatineni <skomatineni@nvidia.com>
Cc: linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	 linux-kernel@vger.kernel.org,
	linux-stm32@st-md-mailman.stormreply.com,
	 linux-mediatek@lists.infradead.org,
	linux-rockchip@lists.infradead.org,  linux-tegra@vger.kernel.org,
	Joshua Crofts <crofts@kernel.org>
Subject: [PATCH 02/11] spi: cadence-quadspi: remove redundant pm_runtime_dont_use_autosuspend() calls
Date: Sun, 08 Nov 2026 13:16:49 +0100	[thread overview]
Message-ID: <20261108-spi-dont-use-autosuspend-v1-2-3587b0183cbe@kernel.org> (raw)
In-Reply-To: <20261108-spi-dont-use-autosuspend-v1-0-3587b0183cbe@kernel.org>

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.

Signed-off-by: Joshua Crofts <crofts@kernel.org>
---
 drivers/spi/spi-cadence-quadspi.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/spi/spi-cadence-quadspi.c b/drivers/spi/spi-cadence-quadspi.c
index 73ea51c41f95..a276745095e4 100644
--- a/drivers/spi/spi-cadence-quadspi.c
+++ b/drivers/spi/spi-cadence-quadspi.c
@@ -2001,7 +2001,6 @@ static int cqspi_probe(struct platform_device *pdev)
 	pm_runtime_disable(dev);
 	pm_runtime_set_suspended(dev);
 	pm_runtime_put_noidle(dev);
-	pm_runtime_dont_use_autosuspend(dev);
 
 	cqspi_controller_enable(cqspi, 0);
 disable_clks:
@@ -2037,7 +2036,6 @@ static void cqspi_remove(struct platform_device *pdev)
 	pm_runtime_disable(&pdev->dev);
 	pm_runtime_set_suspended(&pdev->dev);
 	pm_runtime_put_noidle(&pdev->dev);
-	pm_runtime_dont_use_autosuspend(&pdev->dev);
 }
 
 static int cqspi_runtime_suspend(struct device *dev)

-- 
2.56.0


  parent reply	other threads:[~2026-11-08 12:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-08 12:16 [PATCH 00/11] spi: " Joshua Crofts
2026-11-08 12:16 ` [PATCH 01/11] spi: axiado: " Joshua Crofts
2026-11-08 12:16 ` Joshua Crofts [this message]
2026-11-08 12:16 ` [PATCH 03/11] spi: cadence: " Joshua Crofts
2026-11-08 12:16 ` [PATCH 04/11] spi: stm32: " Joshua Crofts
2026-11-17  9:04   ` Alain Volmat
2026-11-08 12:16 ` [PATCH 05/11] spi: stm32-qspi: " Joshua Crofts
2026-11-08 12:16 ` [PATCH 06/11] spi: zynqmp-gqspi: " Joshua Crofts
2026-11-08 12:16 ` [PATCH 07/11] spi: mtk-nor: " Joshua Crofts
2026-11-08 12:16 ` [PATCH 08/11] spi: orion: " Joshua Crofts
2026-11-08 12:16 ` [PATCH 09/11] spi: rockchip-sfc: " Joshua Crofts
2026-11-08 12:16 ` [PATCH 10/11] spi: rtk-nor: " Joshua Crofts
2026-11-08 12:16 ` [PATCH 11/11] spi: tegra210-quad: " Joshua Crofts
2026-11-09 20:12 ` [PATCH 00/11] spi: " Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261108-spi-dont-use-autosuspend-v1-2-3587b0183cbe@kernel.org \
    --to=crofts@kernel.org \
    --cc=alain.volmat@foss.st.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=broonie@kernel.org \
    --cc=eleanor.lin@realtek.com \
    --cc=heiko@sntech.de \
    --cc=jonathanh@nvidia.com \
    --cc=jyanchou@realtek.com \
    --cc=kmitran@axiado.com \
    --cc=ldewangan@nvidia.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=linux-tegra@vger.kernel.org \
    --cc=matthias.bgg@gmail.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=michal.simek@amd.com \
    --cc=pbolisetty@axiado.com \
    --cc=skomatineni@nvidia.com \
    --cc=syang@axiado.com \
    --cc=thierry.reding@kernel.org \
    --cc=twei@axiado.com \
    --cc=vmoravcevic@axiado.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®