diff options
author | Jani Nikula <jani.nikula@intel.com> | 2025-08-28 15:20:59 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2025-09-04 14:02:59 +0300 |
commit | 19b31edb0a8da0d0e9406a7ced6bda3b68577d9e (patch) | |
tree | 8ee7691de8107c020c92df09f64eb0e9c4b11441 /rust/helpers/rcu.c | |
parent | bcd23d8ee01c2abcea782aaf40c74d54a3fdab82 (diff) |
drm/i915/lspcon: use generic poll_timeout_us() instead of wait_for()
Prefer generic poll helpers over i915 custom helpers.
The functional change is losing the exponentially growing sleep of
wait_for(), which used to be 10, 20, 40, ..., 640, and 1280 us.
Use an arbitrary constant 5 ms sleep instead. The timeouts remain, being
400 ms or 800 ms, depending on the case.
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://lore.kernel.org/r/4065fa96c0ef6afd51a384f365761d2ca802256b.1756383233.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'rust/helpers/rcu.c')
0 files changed, 0 insertions, 0 deletions