summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Gu <ustc.gu@gmail.com>2026-03-07 15:47:15 +0800
committerMark Brown <broonie@kernel.org>2026-03-10 19:40:00 +0000
commitec6c2e15a42fc8fb63baadee0e8a3257e37fa90c (patch)
tree503aab127cd36b2f375d7cca79be34f7cc92442b
parent981b080a79724738882b0af1c5bb7ade30d94f24 (diff)
spi: axiado: Remove redundant pm_runtime_mark_last_busy() call
The pm_runtime_mark_last_busy() call is redundant in the probe function as pm_runtime_put_autosuspend() already calls pm_runtime_mark_last_busy() internally to update the last access time of the device before queuing autosuspend. Fixes: e75a6b00ad79 ("spi: axiado: Add driver for Axiado SPI DB controller") Signed-off-by: Felix Gu <ustc.gu@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://patch.msgid.link/20260307-axiado-1-v1-1-e90aa1b6dd9b@gmail.com
-rw-r--r--drivers/spi/spi-axiado.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-axiado.c b/drivers/spi/spi-axiado.c
index 8cea81432c5b..bd5f67acc4f6 100644
--- a/drivers/spi/spi-axiado.c
+++ b/drivers/spi/spi-axiado.c
@@ -850,7 +850,6 @@ static int ax_spi_probe(struct platform_device *pdev)
ctlr->bits_per_word_mask = SPI_BPW_MASK(8);
- pm_runtime_mark_last_busy(&pdev->dev);
pm_runtime_put_autosuspend(&pdev->dev);
ctlr->mem_ops = &ax_spi_mem_ops;