summaryrefslogtreecommitdiff
path: root/rust/helpers/err.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2025-08-28 15:20:52 +0300
committerJani Nikula <jani.nikula@intel.com>2025-09-04 14:02:58 +0300
commita8eb4cdcedd836b22459b9f6e68b60001bd04bac (patch)
treea28362727791edb555edcf087b61947859b0a397 /rust/helpers/err.c
parentc698a48e9f8019c01eab83a962289ad4e81db938 (diff)
drm/i915/power-well: use generic poll_timeout_us() instead of wait_for() for DKL PHY
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 100 us sleep instead. The timeout remains at 1 ms. Reviewed-by: Jouni Högander <jouni.hogander@intel.com> Link: https://lore.kernel.org/r/663c9edf4a98b09121d7200f8d734ebc829da85b.1756383233.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions