From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: Miquel Raynal <miquel.raynal@bootlin.com>,
Conor Culhane <conor.culhane@silvaco.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: linux-i3c@lists.infradead.org
Subject: [PATCH 17/51] i3c: master: svc: Switch to __pm_runtime_put_autosuspend()
Date: Fri, 4 Oct 2024 12:41:22 +0300 [thread overview]
Message-ID: <20241004094122.113640-1-sakari.ailus@linux.intel.com> (raw)
In-Reply-To: <20241004094101.113349-1-sakari.ailus@linux.intel.com>
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/svc-i3c-master.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/i3c/master/svc-i3c-master.c b/drivers/i3c/master/svc-i3c-master.c
index a7bfc678153e..684f20fbc265 100644
--- a/drivers/i3c/master/svc-i3c-master.c
+++ b/drivers/i3c/master/svc-i3c-master.c
@@ -576,7 +576,7 @@ static int svc_i3c_master_set_speed(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;
}
@@ -691,7 +691,7 @@ static int svc_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;
}
@@ -713,7 +713,7 @@ static void svc_i3c_master_bus_cleanup(struct i3c_master_controller *m)
writel(0, master->regs + SVC_I3C_MCONFIG);
pm_runtime_mark_last_busy(master->dev);
- pm_runtime_put_autosuspend(master->dev);
+ __pm_runtime_put_autosuspend(master->dev);
}
static int svc_i3c_master_reserve_slot(struct svc_i3c_master *master)
@@ -1070,7 +1070,7 @@ static int svc_i3c_master_do_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;
}
@@ -1353,7 +1353,7 @@ static void svc_i3c_master_enqueue_xfer(struct svc_i3c_master *master,
spin_unlock_irqrestore(&master->xferqueue.lock, flags);
pm_runtime_mark_last_busy(master->dev);
- pm_runtime_put_autosuspend(master->dev);
+ __pm_runtime_put_autosuspend(master->dev);
}
static bool
@@ -1643,7 +1643,7 @@ static int svc_i3c_master_disable_ibi(struct i3c_dev_desc *dev)
ret = i3c_master_disec_locked(m, dev->info.dyn_addr, I3C_CCC_EVENT_SIR);
pm_runtime_mark_last_busy(master->dev);
- pm_runtime_put_autosuspend(master->dev);
+ __pm_runtime_put_autosuspend(master->dev);
return ret;
}
@@ -1676,7 +1676,7 @@ static int svc_i3c_master_disable_hotjoin(struct i3c_master_controller *m)
svc_i3c_master_disable_interrupts(master);
pm_runtime_mark_last_busy(master->dev);
- pm_runtime_put_autosuspend(master->dev);
+ __pm_runtime_put_autosuspend(master->dev);
return 0;
}
@@ -1820,7 +1820,7 @@ static int svc_i3c_master_probe(struct platform_device *pdev)
goto rpm_disable;
pm_runtime_mark_last_busy(&pdev->dev);
- pm_runtime_put_autosuspend(&pdev->dev);
+ __pm_runtime_put_autosuspend(&pdev->dev);
return 0;
--
2.39.5
--
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c
next prev parent reply other threads:[~2024-10-08 15:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-04 9:41 [PATCH 00/51] treewide: Switch to __pm_runtime_put_autosuspend() Sakari Ailus
2024-10-04 9:41 ` Sakari Ailus [this message]
2024-10-04 9:41 ` [PATCH 18/51] i3c: dw: " Sakari Ailus
2024-10-04 14:38 ` [PATCH 00/51] treewide: " Ulf Hansson
2024-10-07 18:49 ` Laurent Pinchart
2024-10-07 22:08 ` Ulf Hansson
2024-10-07 22:25 ` Laurent Pinchart
2024-10-07 22:34 ` Ulf Hansson
2024-10-08 18:24 ` Rafael J. Wysocki
2024-10-09 10:20 ` Rafael J. Wysocki
2024-10-09 10:27 ` Ulf Hansson
2024-10-09 12:48 ` Richard Fitzgerald
2024-10-09 13:34 ` Rafael J. Wysocki
2024-10-08 20:38 ` Uwe Kleine-König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241004094122.113640-1-sakari.ailus@linux.intel.com \
--to=sakari.ailus@linux.intel.com \
--cc=alexandre.belloni@bootlin.com \
--cc=conor.culhane@silvaco.com \
--cc=linux-i3c@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox