diff mbox series

[18/51] i3c: dw: Switch to __pm_runtime_put_autosuspend()

Message ID 20241004094122.113657-1-sakari.ailus@linux.intel.com (mailing list archive)
State New
Headers show
Series treewide: Switch to __pm_runtime_put_autosuspend() | expand

Commit Message

Sakari Ailus Oct. 4, 2024, 9:41 a.m. UTC
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@linux.intel.com>
---
 drivers/i3c/master/dw-i3c-master.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
diff mbox series

Patch

diff --git a/drivers/i3c/master/dw-i3c-master.c b/drivers/i3c/master/dw-i3c-master.c
index 8d694672c110..d2731ed66705 100644
--- a/drivers/i3c/master/dw-i3c-master.c
+++ b/drivers/i3c/master/dw-i3c-master.c
@@ -700,7 +700,7 @@  static int dw_i3c_master_bus_init(struct i3c_master_controller *m)
 
 rpm_out:
 	pm_runtime_mark_last_busy(master->dev);
-	pm_runtime_put_autosuspend(master->dev);
+	__pm_runtime_put_autosuspend(master->dev);
 	return ret;
 }
 
@@ -817,7 +817,7 @@  static int dw_i3c_master_send_ccc_cmd(struct i3c_master_controller *m,
 		ret = dw_i3c_ccc_set(master, ccc);
 
 	pm_runtime_mark_last_busy(master->dev);
-	pm_runtime_put_autosuspend(master->dev);
+	__pm_runtime_put_autosuspend(master->dev);
 	return ret;
 }
 
@@ -900,7 +900,7 @@  static int dw_i3c_master_daa(struct i3c_master_controller *m)
 
 rpm_out:
 	pm_runtime_mark_last_busy(master->dev);
-	pm_runtime_put_autosuspend(master->dev);
+	__pm_runtime_put_autosuspend(master->dev);
 	return ret;
 }
 
@@ -986,7 +986,7 @@  static int dw_i3c_master_priv_xfers(struct i3c_dev_desc *dev,
 	dw_i3c_master_free_xfer(xfer);
 
 	pm_runtime_mark_last_busy(master->dev);
-	pm_runtime_put_autosuspend(master->dev);
+	__pm_runtime_put_autosuspend(master->dev);
 	return ret;
 }
 
@@ -1136,7 +1136,7 @@  static int dw_i3c_master_i2c_xfers(struct i2c_dev_desc *dev,
 	dw_i3c_master_free_xfer(xfer);
 
 	pm_runtime_mark_last_busy(master->dev);
-	pm_runtime_put_autosuspend(master->dev);
+	__pm_runtime_put_autosuspend(master->dev);
 	return ret;
 }
 
@@ -1304,7 +1304,7 @@  static int dw_i3c_master_disable_hotjoin(struct i3c_master_controller *m)
 	       master->regs + DEVICE_CTRL);
 
 	pm_runtime_mark_last_busy(master->dev);
-	pm_runtime_put_autosuspend(master->dev);
+	__pm_runtime_put_autosuspend(master->dev);
 	return 0;
 }
 
@@ -1330,7 +1330,7 @@  static int dw_i3c_master_enable_ibi(struct i3c_dev_desc *dev)
 	if (rc) {
 		dw_i3c_master_set_sir_enabled(master, dev, data->index, false);
 		pm_runtime_mark_last_busy(master->dev);
-		pm_runtime_put_autosuspend(master->dev);
+		__pm_runtime_put_autosuspend(master->dev);
 	}
 
 	return rc;
@@ -1350,7 +1350,7 @@  static int dw_i3c_master_disable_ibi(struct i3c_dev_desc *dev)
 	dw_i3c_master_set_sir_enabled(master, dev, data->index, false);
 
 	pm_runtime_mark_last_busy(master->dev);
-	pm_runtime_put_autosuspend(master->dev);
+	__pm_runtime_put_autosuspend(master->dev);
 	return 0;
 }