summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2026-02-10 16:51:04 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-22 15:43:47 +0300
commit5ff37a60b39804c6e505fc2069a3d892b5d787f5 (patch)
tree8f22c8ddaeef9507391e772fbe2b29b46cc36a5f /include/linux/workqueue.h
parent37840446078b47e49ea97dd2a6f20cb5ecd44483 (diff)
downloadlinux-5ff37a60b39804c6e505fc2069a3d892b5d787f5.tar.xz
iio: dac: ds4424: use fsleep() instead of usleep_range()
The DS4422/DS4424 and DS4402/DS4404 datasheets do not specify a minimum delay between power-up (POR) and the availability of the I2C interface. The driver previously used `usleep_range(1000, 1200)` to enforce a ~1ms delay. Replace this with `fsleep(1000)` to allow the kernel to select the most efficient sleep mechanism while retaining the existing conservative delay to ensure device readiness. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions