usb: typec: ucsi: Check for notifications after init
The completion notification for the final SET_NOTIFICATION_ENABLE command during initialization can include a connector change notification. However, at the time this completion notification is processed, the ucsi struct is not ready to handle this notification. As a result the notification is ignored and the controller never sends an interrupt again. Re-check CCI for a pending connector state change after initialization is complete. Adjust the corresponding debug message accordingly. Fixes: 71a1fa0d ("usb: typec: ucsi: Store the notification mask") Cc: stable@vger.kernel.org Signed-off-by: Christian A. Ehrhardt <lk@c--e.de> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8550-QRD Link: https://lore.kernel.org/r/20240320073927.1641788-3-lk@c--e.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
parent
15b2e71b
-
mentioned in commit ce4c8d21
-
mentioned in commit 3b0b6b32
-
mentioned in commit 3a970e41
-
mentioned in commit 5f499d74
-
mentioned in commit a6b9bffb
-
mentioned in commit 91a7af8c
-
mentioned in commit 85e6aa4f
-
mentioned in commit 4184b7d8
-
mentioned in commit d5f0c5ea
-
mentioned in commit 897a97b7
-
mentioned in commit 292ed156
Please register or sign in to comment