aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-06-27 10:52:07 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-07-02 16:00:49 +0200
commit4a2398d7211f8f750b717ce4a2b0d117385f2a4a (patch)
tree9021ac59e3a8a9268c964ea14dee0f7acbf56683 /tools/perf/scripts/python/stackcollapse.py
parentgpio: sch311x: Implement .get_direction() (diff)
downloadlinux-4a2398d7211f8f750b717ce4a2b0d117385f2a4a.tar.gz
linux-4a2398d7211f8f750b717ce4a2b0d117385f2a4a.zip
gpio: sch311x: Use RMW to change direction
Bit 0 in the config register obviously controls the direction of the GPIO so instead of hammering 0x0/0x1 into that register, use read-modify-write so that we can also alter the other bits in the register. Cc: Bruno Randolf <br1@einfach.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions