diff options
author | Kenny Levinsen <[email protected]> | 2024-04-30 01:33:14 +0200 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2024-05-06 23:27:37 +0200 |
commit | ab5ec06a7070840bb64a125fe6e5b0ddcb36346c (patch) | |
tree | dced0528c36832b5199d810ce94f318e06c03ad1 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 3e78a6c0d3e02e4cf881dc84c5127e9990f939d6 (diff) |
HID: i2c-hid: Retry address probe after delay
Some STM microcontrollers need 400µs after rising clock edge in order to
come out of their deep sleep state. This in turn means that our address
probe will fail as the device is not ready to service it.
Retry the probe once after a delay to see if the device came alive,
otherwise treat the device as missing.
Link: https://lore.kernel.org/all/[email protected]/#t
Co-developed-by: Radoslaw Biernacki <[email protected]>
Co-developed-by: Lukasz Majczak <[email protected]>
Signed-off-by: Kenny Levinsen <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions