]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: cadence-qspi: Remove redundant pm_runtime_mark_last_busy call
authorAkif Ejaz <akifejaz40@gmail.com>
Wed, 3 Dec 2025 18:19:21 +0000 (23:19 +0500)
committerMark Brown <broonie@kernel.org>
Sun, 14 Dec 2025 10:39:21 +0000 (19:39 +0900)
commit28d21dfcea0121afec04451733a6c553fd319c8e
treec40835f2d30fae6d7ec6b514c84fe79a5e2a82a8
parente83ba2e698aafa052d0df82564f7c8cd777fd5c7
spi: cadence-qspi: Remove redundant pm_runtime_mark_last_busy call

The pm_runtime_mark_last_busy() call is redundant in 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.

Remove the pm_runtime_mark_last_busy() call from the probe function.

Tested on StarFive VisionFive 2 v1.2A board.

Fixes: e1f2e77624db ("spi: cadence-qspi: Fix runtime PM imbalance in probe")
Signed-off-by: Akif Ejaz <akifejaz40@gmail.com>
Link: https://patch.msgid.link/20251203181921.97171-1-akifejaz40@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cadence-quadspi.c