Re: [RFC PATCH 0/2] usb: typec: ucsi: Check connection on resume

From: Grzegorz Alibożek
Date: Wed Sep 07 2022 - 17:33:16 EST


Hi,
> Hi,
>
> I'm sending these as an RFC first because I'm not done testing.
>
> I made a small modification to my original proposal (in the bug
> report). Now also connection during suspend should be covered.
>
> I would appreciate if you guys could test these again. If everything
> works, and the bug is fixed, let me know, and I'll add your Tested-by
> tags to the patches.
>
> thanks,
>
> Heikki Krogerus (2):
> usb: typec: ucsi: Check the connection on resume
> usb: typec: ucsi: acpi: Add PM hooks
>
> drivers/usb/typec/ucsi/ucsi.c | 42 +++++++++++++++++++++---------
> drivers/usb/typec/ucsi/ucsi_acpi.c | 15 +++++++++++
> 2 files changed, 44 insertions(+), 13 deletions(-)

I have tested this patch on Lenovo T14 Gen2i with ac adapter and everything
looks good. I applied patch on linux 5.19.7.