Skip to contentSkip to conversation

bus: sunxi-rsb: Remove redundant pm_runtime_mark_last_busy() calls

PATCH Applied Sakari Ailus 3 participants 3 messages Oct 27, 2025 – Oct 28, 2025 Arm/Allwinner sunXi SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bus: sunxi-rsb: 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().

---
 drivers/bus/sunxi-rsb.c | 2 --
 1 file changed, 2 deletions(-)
drivers/bus/sunxi-rsb.c +0 -2
index 7a33c3b31d1e..82735c58be11 100644
@@ -373,7 +373,6 @@ static int sunxi_rsb_read(struct sunxi_rsb *rsb, u8 rtaddr, u8 addr,
 unlock:
 	mutex_unlock(&rsb->lock);
 
-	pm_runtime_mark_last_busy(rsb->dev);
 	pm_runtime_put_autosuspend(rsb->dev);
 
 	return ret;
@@ -417,7 +416,6 @@ static int sunxi_rsb_write(struct sunxi_rsb *rsb, u8 rtaddr, u8 addr,
 
 	mutex_unlock(&rsb->lock);
 
-	pm_runtime_mark_last_busy(rsb->dev);
 	pm_runtime_put_autosuspend(rsb->dev);
 
 	return ret;
Signature · 1 line
2.47.3
maintainer Reviewed-by on v1 1/1
#1 lore raw

Dne ponedeljek, 27. oktober 2025 ob 14:33:59 Srednjeevropski standardni čas je Sakari Ailus napisal(a):

Quoted 6 lines

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().

Best regards,
Jernej

maintainer Applied
#2 lore raw
In reply to Sakari Ailus
Quoted 6 lines · Sakari Ailus

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().

Applied to sunxi/drivers-for-6.19 in sunxi/linux.git, thanks!

[1/1] bus: sunxi-rsb: Remove redundant pm_runtime_mark_last_busy() calls

      https://git.kernel.org/sunxi/linux/c/122df8416e7f

Best regards,

Signature · 1 line
Chen-Yu Tsai <[email protected]>