Re: [PATCH v3 1/5] PM: sleep: Resume children after resuming the parent

From: Jon Hunter
Date: Sat May 10 2025 - 07:51:15 EST



On 10/05/2025 12:39, Rafael J. Wysocki wrote:

...

If I make the following change then this does fix it ...

diff --git a/drivers/usb/typec/ucsi/ucsi_ccg.c
b/drivers/usb/typec/ucsi/ucsi_ccg.c
index f01e4ef6619d..e9a9df1431af 100644
--- a/drivers/usb/typec/ucsi/ucsi_ccg.c
+++ b/drivers/usb/typec/ucsi/ucsi_ccg.c
@@ -1483,6 +1483,8 @@ static int ucsi_ccg_probe(struct i2c_client *client)

i2c_set_clientdata(client, uc);

+ device_disable_async_suspend(uc->dev);
+
pm_runtime_set_active(uc->dev);
pm_runtime_enable(uc->dev);
pm_runtime_use_autosuspend(uc->dev);


I'm going to pick up this patch for 6.16 and add a changelog to it, so
please consider providing a Signed-off-by: tag for this change.

OK thanks! Yes, please add my ...

Signed-off-by: Jon Hunter <jonathanh@xxxxxxxxxx>

Jon

--
nvpublic