Re: [PATCH v2] usb: typec: ucsi: allow retries of ucsi_resume_work

From: Marco Crivellari

Date: Mon Sep 07 2026 - 09:20:02 EST


On Sat, Sep 5, 2026 at 1:41 AM Jameson Thies <jthies@xxxxxxxxxx> wrote:
>
> On resume, the UCSI driver will re-enable notifications by sending
> SET_NOTIFICATION_ENABLE. The LPM/PPM may be busy during system
> resume causing SET_NOTIFICATION_ENABLE to fail and preventing the UCSI
> driver from receiving connection status changes.
>
> Change resume work to a delayed workqueue to allow retries on failed
> SET_NOTIFICATION_ENABLED commands. Additionally, cancel resume work
> on suspend to prevent pending resume commands from impacting suspend.
>
> Signed-off-by: Jameson Thies <jthies@xxxxxxxxxx>
> ---
> Changes in v2:
> - replaced system_long_wq with system_dfl_long_wq

Acked-by: Marco Crivellari <marco.crivellari@xxxxxxxx>

--

Marco Crivellari

SUSE Labs