Re: [PATCH v4] usb: typec: ucsi: Get connector status after enable notifications
From: Kenneth Crudup
Date: Wed Nov 26 2025 - 13:25:54 EST
On 11/25/25 01:31, 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>
---
Changes in v4:
- Handle a single connector in ucsi_init_port() and call it in a loop
- Link to v3: https://lore.kernel.org/r/20251121-ucsi-v3-1-b1047ca371b8@xxxxxxxxxxxx
Tested-By: Kenneth R. Crudup <kenny@xxxxxxxxx>
---
base-commit: 6a23ae0a96a600d1d12557add110e0bb6e32730c
change-id: 20251117-ucsi-c2dfe8c006d7
--
Kenneth R. Crudup / Sr. SW Engineer, Scott County Consulting, Orange County CA