diff options
author | Laurent Pinchart <[email protected]> | 2015-10-13 00:20:20 +0300 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2015-10-16 22:46:46 +0200 |
commit | 923b93e451db876d1479d3e4458fce14fec31d1c (patch) | |
tree | 4f8252982415c3f29a36e739f453b7c030eda878 /tools/perf/scripts/python | |
parent | 98c85d583a5dee70d75faed3eb79851dd0a2e2fe (diff) |
gpiolib: Split GPIO flags parsing and GPIO configuration
When requesting a GPIO through the legacy or the gpiod_* API the
gpiochip request operation is first called and then the GPIO flags are
parsed and the GPIO is configured. This prevents the gpiochip from
rejecting the request if the flags are not supported by the device.
To fix this split the parse-and-configure operation in two and parse
flags before requesting the GPIO.
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions