[PATCH] spi: axiado: Remove redundant pm_runtime_mark_last_busy() call
Felix Gu
ustc.gu at gmail.com
Fri Mar 6 23:47:15 PST 2026
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 at gmail.com>
---
drivers/spi/spi-axiado.c | 1 -
1 file changed, 1 deletion(-)
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;
---
base-commit: a0ae2a256046c0c5d3778d1a194ff2e171f16e5f
change-id: 20260307-axiado-1-6c84296be4a2
Best regards,
--
Felix Gu <ustc.gu at gmail.com>
More information about the linux-arm-kernel
mailing list