Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scsi: pm: Drop unneeded call to pm_runtime_mark_last_busy()

There's no need to explicitly call pm_runtime_mark_last_busy() since
pm_runtime_autosuspend() is now doing it since commit 08071e64cb64 ("PM:
runtime: Mark last busy stamp in pm_runtime_autosuspend()")

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20251111-scsi-pm-improv-v2-1-626b8491f4b4@analog.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Nuno Sá and committed by
Martin K. Petersen
10282589 acd194d9

-1
-1
drivers/scsi/scsi_pm.c
··· 205 205 /* Insert hooks here for targets, hosts, and transport classes */ 206 206 207 207 if (scsi_is_sdev_device(dev)) { 208 - pm_runtime_mark_last_busy(dev); 209 208 pm_runtime_autosuspend(dev); 210 209 return -EBUSY; 211 210 }