diff options
| author | Sakari Ailus <[email protected]> | 2025-07-04 07:54:47 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-07-04 23:50:32 +0000 |
| commit | 2fca750160f29015ab1109bb478537a4e415f7cd (patch) | |
| tree | 5d2ad3dc8f71aef1452e9396a163bfae9f337a81 /drivers/spi/spi-cadence.c | |
| parent | Documentation: PM: *_autosuspend() functions update last busy time (diff) | |
| download | kernel-2fca750160f29015ab1109bb478537a4e415f7cd.tar.gz kernel-2fca750160f29015ab1109bb478537a4e415f7cd.zip | |
spi: Remove redundant pm_runtime_mark_last_busy() calls
pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(),
pm_runtime_autosuspend() and pm_request_autosuspend() now include a call
to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to
pm_runtime_mark_last_busy().
Signed-off-by: Sakari Ailus <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/spi/spi-cadence.c')
| -rw-r--r-- | drivers/spi/spi-cadence.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-cadence.c b/drivers/spi/spi-cadence.c index 9e56bde87768..5ae09b21d23a 100644 --- a/drivers/spi/spi-cadence.c +++ b/drivers/spi/spi-cadence.c @@ -662,7 +662,6 @@ static int cdns_spi_probe(struct platform_device *pdev) /* Set to default valid value */ ctlr->max_speed_hz = xspi->clk_rate / 4; xspi->speed_hz = ctlr->max_speed_hz; - pm_runtime_mark_last_busy(&pdev->dev); pm_runtime_put_autosuspend(&pdev->dev); } else { ctlr->mode_bits |= SPI_NO_CS; |
