diff options
author | Andi Shyti <andi.shyti@kernel.org> | 2025-04-18 23:16:31 +0200 |
---|---|---|
committer | Andi Shyti <andi@smida.it> | 2025-05-19 22:23:56 +0200 |
commit | 9f64de0f8522ec5b2d3208b6d3b47e8b8a0f0c3c (patch) | |
tree | 89710efb77f374a4e0d595607f3f4ac49a3cd070 /net/lapb/lapb_timer.c | |
parent | eb9b9b1e193e93da38b4773d90686cc7ffb077ec (diff) |
i2c: iproc: Replace udelay() with usleep_range()
Replace udelay(100) with usleep_range(100, 200) as recommended
by kernel documentation. The delay is not in atomic context, so
busy-waiting is unnecessary.
Also update the comment for clarity.
Link: https://lore.kernel.org/r/20250418211635.2666234-7-andi.shyti@kernel.org
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions