public inbox for linux-sunxi@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH 1/1] bus: sunxi-rsb: Remove redundant pm_runtime_mark_last_busy() calls
@ 2025-10-27 13:33 Sakari Ailus
  2025-10-27 17:56 ` Jernej Škrabec
  2025-10-28 17:19 ` Chen-Yu Tsai
  0 siblings, 2 replies; 3+ messages in thread
From: Sakari Ailus @ 2025-10-27 13:33 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, Arnd Bergmann,
	Uwe Kleine-König, linux-sunxi

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 <sakari.ailus@linux.intel.com>
---
 drivers/bus/sunxi-rsb.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/bus/sunxi-rsb.c b/drivers/bus/sunxi-rsb.c
index 7a33c3b31d1e..82735c58be11 100644
--- a/drivers/bus/sunxi-rsb.c
+++ b/drivers/bus/sunxi-rsb.c
@@ -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;
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] bus: sunxi-rsb: Remove redundant pm_runtime_mark_last_busy() calls
  2025-10-27 13:33 [PATCH 1/1] bus: sunxi-rsb: Remove redundant pm_runtime_mark_last_busy() calls Sakari Ailus
@ 2025-10-27 17:56 ` Jernej Škrabec
  2025-10-28 17:19 ` Chen-Yu Tsai
  1 sibling, 0 replies; 3+ messages in thread
From: Jernej Škrabec @ 2025-10-27 17:56 UTC (permalink / raw)
  To: linux-arm-kernel, Sakari Ailus
  Cc: Chen-Yu Tsai, Samuel Holland, Arnd Bergmann,
	Uwe Kleine-König, linux-sunxi

Dne ponedeljek, 27. oktober 2025 ob 14:33:59 Srednjeevropski standardni čas je Sakari Ailus napisal(a):
> 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 <sakari.ailus@linux.intel.com>

Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>

Best regards,
Jernej



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] bus: sunxi-rsb: Remove redundant pm_runtime_mark_last_busy() calls
  2025-10-27 13:33 [PATCH 1/1] bus: sunxi-rsb: Remove redundant pm_runtime_mark_last_busy() calls Sakari Ailus
  2025-10-27 17:56 ` Jernej Škrabec
@ 2025-10-28 17:19 ` Chen-Yu Tsai
  1 sibling, 0 replies; 3+ messages in thread
From: Chen-Yu Tsai @ 2025-10-28 17:19 UTC (permalink / raw)
  To: linux-arm-kernel, Sakari Ailus
  Cc: Jernej Skrabec, Samuel Holland, Arnd Bergmann,
	Uwe Kleine-König, linux-sunxi

On Mon, 27 Oct 2025 15:33:59 +0200, Sakari Ailus wrote:
> 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,
-- 
Chen-Yu Tsai <wens@kernel.org>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-28 17:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-27 13:33 [PATCH 1/1] bus: sunxi-rsb: Remove redundant pm_runtime_mark_last_busy() calls Sakari Ailus
2025-10-27 17:56 ` Jernej Škrabec
2025-10-28 17:19 ` Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox