diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2025-06-23 14:05:18 -0700 |
---|---|---|
committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2025-06-24 02:49:28 +0000 |
commit | 981d7f91aeda17424b29f033249f4fa7cd2a7556 (patch) | |
tree | 509aca983656145642c76abe77fdd86808dd40a7 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 545daf90910ec83e167cf3fbcc31fcf5467432b8 (diff) |
platform/chrome: cros_ec_sensorhub: Retries when a sensor is not ready
When the EC/ISH starts, it can take a while for all the sensors to be up
and running or declared broken.
If the sensor stack return -EBUSY when checking for sensor information,
retry up to 50 times.
It has been observed 100ms wait time is enough to have valid sensors
ready. It can take more time in case a sensor is really broken and is
not coming up.
Signed-off-by: Gwendal Grignou <gwendal@google.com>
Link: https://lore.kernel.org/r/20250623210518.306740-1-gwendal@google.com
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions