summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorHsin-Te Yuan <yuanhsinte@chromium.org>2025-12-18 15:37:57 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-23 15:41:44 +0100
commit5106dbab44fba8ec6dede3f4e75d17f5aa777ec8 (patch)
tree408377c1d3a920cd7ce6a9eaf551919334d70e42 /scripts/basic
parent0831269b5f71594882accfceb02638124f88955d (diff)
usb: typec: ucsi: Get connector status after enable notifications
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. Fixes: c1b0bc2dabfa ("usb: typec: Add support for UCSI interface") Cc: stable <stable@kernel.org> Tested-by: Kenneth R. Crudup <kenny@panix.com> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Hsin-Te Yuan <yuanhsinte@chromium.org> Link: https://patch.msgid.link/20251218-ucsi-v7-1-aea83e83fb12@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions