aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorBrian Masney <masneyb@onstation.org>2017-07-06 18:56:24 -0400
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-07-09 18:30:07 +0100
commit36a28e4a613bba376959a1b698ae0e1b23d52b59 (patch)
treea1d942122fdee33488af269ada6e52500e1bfd8e /tools/perf/scripts/python/bin
parentstaging: iio: tsl2x7x: refactor {read,write}_event_value to allow handling multiple iio_event_infos (diff)
staging: iio: tsl2x7x: use usleep_range() instead of mdelay()
This driver in some cases can busy wait for upwards of 15ms. Since the kernel at this point is not running in atomic context, and is running in process context, we can safely use usleep_range() instead. This patch changes the two occurrences of mdelay() to usleep_range(). Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions