bus: sunxi-rsb: Remove redundant pm_runtime_mark_last_busy() calls
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
@@ -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
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()andpm_request_autosuspend()now include a call topm_runtime_mark_last_busy(). Remove the now-reduntant explicit call topm_runtime_mark_last_busy().Signed-off-by Sakari Ailus <[email protected]>
Best regards,
Jernej
Quoted 6 lines · Sakari Ailus
pm_runtime_put_autosuspend(),pm_runtime_put_sync_autosuspend(),pm_runtime_autosuspend()andpm_request_autosuspend()now include a call topm_runtime_mark_last_busy(). Remove the now-reduntant explicit call topm_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]>