[PATCH 51/51] soc: apple: mailbox: Switch to __pm_runtime_put_autosuspend()

Sakari Ailus sakari.ailus at linux.intel.com
Fri Oct 4 02:41:55 PDT 2024


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 at linux.intel.com>
---
 drivers/soc/apple/mailbox.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/apple/mailbox.c b/drivers/soc/apple/mailbox.c
index 49a0955e82d6..30fefafa9c59 100644
--- a/drivers/soc/apple/mailbox.c
+++ b/drivers/soc/apple/mailbox.c
@@ -276,7 +276,7 @@ void apple_mbox_stop(struct apple_mbox *mbox)
 	mbox->active = false;
 	disable_irq(mbox->irq_recv_not_empty);
 	pm_runtime_mark_last_busy(mbox->dev);
-	pm_runtime_put_autosuspend(mbox->dev);
+	__pm_runtime_put_autosuspend(mbox->dev);
 }
 EXPORT_SYMBOL(apple_mbox_stop);
 
-- 
2.39.5




More information about the linux-arm-kernel mailing list