mbox series

[0/3] usb: typec: ucsi: allow retry to find role switch

Message ID 1649759407-24049-1-git-send-email-quic_linyyuan@quicinc.com (mailing list archive)
Headers show
Series usb: typec: ucsi: allow retry to find role switch | expand

Message

Linyu Yuan April 12, 2022, 10:30 a.m. UTC
when one role switch module built as module, it may load later then
ucsi, this change series allow retry from ucsi.

Linyu Yuan (3):
  usb: typec: ucsi: set con->port to NULL when register port fail
  usb: typec: ucsi: add a common function ucsi_connector_clean()
  usb: typec: ucsi: retry find role swithch when module load late

 drivers/usb/typec/ucsi/ucsi.c | 75 +++++++++++++++++++++++--------------------
 drivers/usb/typec/ucsi/ucsi.h |  2 +-
 2 files changed, 41 insertions(+), 36 deletions(-)