diff options
| author | 2017-02-08 20:54:26 -0500 | |
|---|---|---|
| committer | 2017-02-11 09:41:09 +0000 | |
| commit | 45e2852b8b27b92fb0f1ad9c94a8edd65c5a61c8 (patch) | |
| tree | 912ab78144aaea4ff6f74dcd5f7dbd009d6922d8 /tools/perf/scripts/python/netdev-times.py | |
| parent | staging: iio: isl29028: change mdelay() to msleep() (diff) | |
staging: iio: isl29028: fix incorrect sleep time when taking initial proximity reading
When proximity is enabled in isl29028_enable_proximity(), the function
msleep() is called with the sampling frequency, which is not correct.
This patch changes the code to sleep the specified amount of time listed
in the datasheet instead.
Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
