Re: [PATCH v4] usb: typec: ucsi: Get connector status after enable notifications
From: Hsin-Te Yuan
Date: Wed Nov 26 2025 - 04:03:16 EST
On Tue, Nov 25, 2025 at 7:46 PM Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Tue, Nov 25, 2025 at 05:31:24PM +0800, Hsin-Te Yuan wrote:
> > Originally, the notification for connector change will be enabled after
> > the first read of the connector status. Therefore, if the event happens
> > during this window, it will be missing and make the status unsynced.
> >
> > Get the connector status only after enabling the notification for
> > connector change to ensure the status is synced.
> >
> > Signed-off-by: Hsin-Te Yuan <yuanhsinte@xxxxxxxxxxxx>
> > ---
>
> What commit id does this fix? Does it need to go to older kernels?
>
> thanks,
>
> greg k-h
This logic appears to have been here since the very beginning. The
commit id is c1b0bc2dabfa ("usb: typec: Add support for UCSI
interface"). I will add the Fixes tag in the next version.
Regards,
Hsin-Te