summaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2017-01-16 16:35:53 +0100
committerJonathan Cameron <jic23@kernel.org>2017-01-22 13:21:28 +0000
commit18e2452a3c4e830bff9628ec0e25a814df491e30 (patch)
tree6a4ccac850ef9323655287aa07a0b384961f22dd /drivers/iio/imu
parentac2bec9d587c6a423a00c7a2d21a8a5928dfedf5 (diff)
downloadlinux-18e2452a3c4e830bff9628ec0e25a814df491e30.tar.bz2
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 4d33615df58b ("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>
Diffstat (limited to 'drivers/iio/imu')
0 files changed, 0 insertions, 0 deletions