aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorNadav Amit <[email protected]>2018-06-04 06:58:14 -0700
committerLinus Walleij <[email protected]>2018-06-18 07:55:30 +0200
commit7279d9917560bbd0d82813d6bf00490a82c06783 (patch)
tree2b09b42b48cc36d169fcde66720240478c559d54 /tools/perf/scripts/python/stackcollapse.py
parentce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff)
gpio: Fix wrong rounding in gpio-menz127
men_z127_debounce() tries to round up and down, but uses functions which are only suitable when the divider is a power of two, which is not the case. Use the appropriate ones. Found by static check. Compile tested. Fixes: f436bc2726c64 ("gpio: add driver for MEN 16Z127 GPIO controller") Signed-off-by: Nadav Amit <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions