summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2018-09-21 13:36:03 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-09-25 10:34:48 +0300
commitae9847f48a4b4bff0335da20be63ac84d94eb54c (patch)
treead76987a49c41717745779be2be1b3eb9ae34870 /tools/perf/scripts/python/export-to-postgresql.py
parent32d064a16eaace1866610f36fb5f4b114d979246 (diff)
downloadlinux-ae9847f48a4b4bff0335da20be63ac84d94eb54c.tar.xz
gpiolib: Fix gpio_direction_* for single direction GPIOs
GPIOs with no programmable direction are not required to implement direction_output nor direction_input. If we try to set an output direction on an output-only GPIO or input direction on an input-only GPIO simply return 0. This allows this single direction GPIO to be used by libgpiod. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions