[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241004094111.113402-1-sakari.ailus@linux.intel.com>
Date: Fri, 4 Oct 2024 12:41:11 +0300
From: Sakari Ailus <sakari.ailus@...ux.intel.com>
To: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
Jeffrey Hugo <quic_jhugo@...cinc.com>,
Tony Lindgren <tony@...mide.com>,
Qiang Yu <quic_qianyu@...cinc.com>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 03/51] bus: sunxi-rsb: Switch to __pm_runtime_put_autosuspend()
pm_runtime_put_autosuspend() will soon be changed to include a call to
pm_runtime_mark_last_busy(). This patch switches the current users to
__pm_runtime_put_autosuspend() which will continue to have the
functionality of old pm_runtime_put_autosuspend().
Signed-off-by: Sakari Ailus <sakari.ailus@...ux.intel.com>
---
drivers/bus/sunxi-rsb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/bus/sunxi-rsb.c b/drivers/bus/sunxi-rsb.c
index a89d78925637..f33d18f1cf48 100644
--- a/drivers/bus/sunxi-rsb.c
+++ b/drivers/bus/sunxi-rsb.c
@@ -374,7 +374,7 @@ static int sunxi_rsb_read(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);
+ __pm_runtime_put_autosuspend(rsb->dev);
return ret;
}
@@ -418,7 +418,7 @@ 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);
+ __pm_runtime_put_autosuspend(rsb->dev);
return ret;
}
--
2.39.5
Powered by blists - more mailing lists