OpenCloudOS-Kernel/drivers/iio/health
Nicholas Mc Guire 18e2452a3c iio: health: max30100: use msleep() for long uncritical delays
ulseep_range() uses hrtimers and provides no advantage over msleep()
for larger delays. Fix up the 35ms delays here to use msleep() and
reduce the load on the hrtimer subsystem.

Fixes: commit 4d33615df5 ("iio: light: add MAX30100 oximeter driver support")
Link: http://lkml.org/lkml/2017/1/11/377
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2017-01-22 13:21:28 +00:00
..
Kconfig iio: health/afe4403: select REGMAP_SPI 2016-02-17 19:31:06 +00:00
Makefile iio: health: Add driver for the TI AFE4403 heart monitor 2016-02-06 21:55:32 +00:00
afe440x.h iio: health/afe440x: Use regmap fields 2016-05-04 11:10:38 +01:00
afe4403.c iio: health/afe440x: Remove unused definitions 2016-05-04 11:13:36 +01:00
afe4404.c iio: health/afe4404: ENSEPGAIN is part of CONTROL2 register 2016-05-04 11:14:16 +01:00
max30100.c iio: health: max30100: use msleep() for long uncritical delays 2017-01-22 13:21:28 +00:00