spi: tegra210-quad: Remove redundant pm_runtime_mark_last_busy() calls
Subsystems (4)
PATCH 1/1 spi: tegra210-quad: Remove redundant pm_runtime_mark_last_busy() calls
pm_runtime_put_autosuspend() already internally updates the last_busy timestamp before scheduling the autosuspend, making explicit pm_runtime_mark_last_busy() calls immediately before it redundant.
--- drivers/spi/spi-tegra210-quad.c | 3 --- 1 file changed, 3 deletions(-)
drivers/spi/spi-tegra210-quad.c +0 -3
@@ -1000,7 +1000,6 @@ static int tegra_qspi_setup(struct spi_device *spi)spin_unlock_irqrestore (&tqspi->lock, flags); -pm_runtime_mark_last_busy (tqspi->dev);pm_runtime_put_autosuspend (tqspi->dev);return 0 ;
@@ -1790,7 +1789,6 @@ static int tegra_qspi_probe(struct platform_device *pdev) tqspi->spi_cs_timing2 =tegra_qspi_readl (tqspi,QSPI_CS_TIMING2 ); tqspi->def_command2_reg =tegra_qspi_readl (tqspi,QSPI_COMMAND2 ); -pm_runtime_mark_last_busy (&pdev->dev);pm_runtime_put_autosuspend (&pdev->dev); ret = request_threaded_irq(tqspi->irq, NULL,
@@ -1851,7 +1849,6 @@ static int __maybe_unused tegra_qspi_resume(struct device *dev)tegra_qspi_writel (tqspi, tqspi->command1_reg,QSPI_COMMAND1 );tegra_qspi_writel (tqspi, tqspi->def_command2_reg,QSPI_COMMAND2 ); -pm_runtime_mark_last_busy (dev);pm_runtime_put_autosuspend (dev);return spi_controller_resume (host);
---
base-commit: a0ae2a256046c0c5d3778d1a194ff2e171f16e5f
change-id: 20260307-quad-cd6cae580c33
Best regards,
Signature · 1 line
Felix Gu <[email protected]>
Mark Brown
maintainerQuoted 3 lines · Felix Gu
pm_runtime_put_autosuspend()already internally updates thelast_busytimestamp before scheduling the autosuspend, making explicitpm_runtime_mark_last_busy()calls immediately before it redundant.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/1] spi: tegra210-quad: Remove redundant pm_runtime_mark_last_busy() calls
commit: d1008a8e29b09ea57c77ddf82d688f8c2ea6cbe8
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Mark Brown
maintainerQuoted 1 line · Felix Gu
spi: tegra210-quad: Remove redundant
pm_runtime_mark_last_busy()calls
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-7.1
Thanks!
[1/1] spi: tegra210-quad: Remove redundant pm_runtime_mark_last_busy() calls
https://git.kernel.org/broonie/misc/c/d1008a8e29b0
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark