diff options
author | Victor Ding <victording@chromium.org> | 2023-01-24 10:56:32 +0300 |
---|---|---|
committer | Prashant Malani <pmalani@chromium.org> | 2023-01-24 22:02:38 +0300 |
commit | 13aba1e532f047459a683f76439ad90fb29eab05 (patch) | |
tree | e405ac35bb3dfbf3744f8ad62733134b3800c7b4 /tools/perf/scripts/python/task-analyzer.py | |
parent | 6514bac4a321daaf2fdf3a116a644c77e4908f20 (diff) | |
download | linux-13aba1e532f047459a683f76439ad90fb29eab05.tar.xz |
platform/chrome: cros_ec_typec: allow deferred probe of switch handles
`fwnode_typec_{retimer,mux,switch}_get()` could return `-EPROBE_DEFER`,
which is called from `cros_typec_get_switch_handles`. When this happens,
it does not indicate absence of switches; instead, it only hints that
probing of switches should occur at a later time.
Progagate `-EPROBE_DEFER` to upper layer logic so that they can re-try
probing switches as a better time.
Signed-off-by: Victor Ding <victording@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20230124075555.v3.1.I6c0a089123fdf143f94ef4cca8677639031856cf@changeid
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions