diff options
author | Linyu Yuan <quic_linyyuan@quicinc.com> | 2022-04-25 13:18:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-26 14:44:57 +0300 |
commit | 3c162511530c234f95091bdc7225f641e5f35090 (patch) | |
tree | 0adc6a5118c4780ab259b3ad13c921c327a54b27 /include/linux/property.h | |
parent | 87d0e2f41b8cc2018499be4e8003fa8c09b6f2fb (diff) | |
download | linux-3c162511530c234f95091bdc7225f641e5f35090.tar.xz |
usb: typec: ucsi: Wait for the USB role switches
When role switch module probe late than ucsi module,
fwnode_usb_role_switch_get() will return -EPROBE_DEFER,
it is better to restart ucsi init work to find
it again every 100ms, total wait time is 10 second.
It also means change ucsi init work to delayed_work.
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
Link: https://lore.kernel.org/r/1650881886-25530-3-git-send-email-quic_linyyuan@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/property.h')
0 files changed, 0 insertions, 0 deletions