summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
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
parentbe78f70ce0d11aa5767a859e1abdc522c1748c44 (diff)
downloadcachepc-linux-36a28e4a613bba376959a1b698ae0e1b23d52b59.tar.gz
cachepc-linux-36a28e4a613bba376959a1b698ae0e1b23d52b59.zip
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')
0 files changed, 0 insertions, 0 deletions