]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: accel: adxl355: replace usleep_range() with fsleep()
authorStepan Ionichev <sozdayvek@gmail.com>
Sun, 10 May 2026 11:38:52 +0000 (16:38 +0500)
committerJonathan Cameron <jic23@kernel.org>
Sun, 31 May 2026 09:59:38 +0000 (10:59 +0100)
commit01b7517513e884ca2fa42852427ccb1ff6b849d7
treeaded421e12b4bd6cae3234b9ea6b24dbc7b8cc1c
parent7e6a73eda92ac7aeda7587c65a1acd32b31a5c3b
iio: accel: adxl355: replace usleep_range() with fsleep()

The "at least 5ms" wait after software reset has no specific upper
bound. Use fsleep() with 5 * USEC_PER_MSEC to make the unit
explicit at the call site.

No functional change.

Signed-off-by: Stepan Ionichev <sozdayvek@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/adxl355_core.c