[PATCH 3/3] spi: ti-qspi: Correct runtime PM error message

From: Felix Gu

Date: Wed Nov 04 2026 - 09:10:47 EST


Update the error message to name pm_runtime_resume_and_get() instead
of the previously used pm_runtime_get_sync().

Signed-off-by: Felix Gu <ustc.gu@xxxxxxxxx>
---
drivers/spi/spi-ti-qspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/spi-ti-qspi.c b/drivers/spi/spi-ti-qspi.c
index 2026fbcbeb90..c9fc0bf4b8fc 100644
--- a/drivers/spi/spi-ti-qspi.c
+++ b/drivers/spi/spi-ti-qspi.c
@@ -154,7 +154,7 @@ static int ti_qspi_setup(struct spi_device *spi)

ret = pm_runtime_resume_and_get(qspi->dev);
if (ret < 0) {
- dev_err(qspi->dev, "pm_runtime_get_sync() failed\n");
+ dev_err(qspi->dev, "pm_runtime_resume_and_get() failed\n");
return ret;
}


--
2.53.0