aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrian Masney <[email protected]>2017-02-08 20:54:26 -0500
committerJonathan Cameron <[email protected]>2017-02-11 09:41:09 +0000
commit45e2852b8b27b92fb0f1ad9c94a8edd65c5a61c8 (patch)
tree912ab78144aaea4ff6f74dcd5f7dbd009d6922d8 /tools/perf/scripts/python
parent55bf851b4ad76778ce4e591dbb79006d7107cf3d (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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions