linux/drivers/iio/frequency
Stepan Ionichev af74304c9f iio: frequency: adrf6780: replace usleep_range() with fsleep()
The ADRF6780 datasheet (Rev. D, page 23, ADC section) says:
"Wait approximately 200 us for the ADC to be ready."

fsleep(200) expands to the same usleep_range(200, 250). Use the
flexible sleep helper, which picks the right primitive for the
given microsecond delay.

Replace the generic "Recommended delay for the ADC to be ready"
comment with the datasheet reference so the "why" of the wait is
visible at the call site.

No functional change.

Signed-off-by: Stepan Ionichev <sozdayvek@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2026-05-31 10:59:38 +01:00
..
ad9523.c iio: frequency: ad9523: use dev_err_probe 2026-03-21 21:12:24 +00:00
adf4350.c iio: frequency: adf4350: replace TODO with NOTE in adf4350_set_freq() 2026-03-25 20:20:16 +00:00
adf4371.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
adf4377.c Linux 7.0-rc4 2026-03-22 12:20:42 +00:00
admfm2000.c iio: frequency: admfm2000: Use device_for_each_child_node_scoped() to simplify error paths. 2024-04-06 11:29:06 +01:00
admv1013.c iio: frequency: admv1013: fix NULL pointer dereference on str 2026-03-14 12:10:21 +00:00
admv1014.c iio: frequency: admv1014: use dev_err_probe() 2026-02-28 11:35:02 +00:00
admv4420.c iio: frequency: admv4420: use dev_err_probe 2026-03-21 21:12:24 +00:00
adrf6780.c iio: frequency: adrf6780: replace usleep_range() with fsleep() 2026-05-31 10:59:38 +01:00
Kconfig iio: frequency: admv4420: fix missing select REMAP_SPI in Kconfig 2024-10-10 19:27:25 +01:00
Makefile iio: frequency: admfm2000: New driver 2024-02-17 16:16:10 +00:00