diff options
author | Timur Tabi <[email protected]> | 2017-12-20 13:10:32 -0600 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2017-12-21 13:04:35 +0100 |
commit | 93ebe8636bb0d95e2e711f2a53abbb72a9d9cf8d (patch) | |
tree | 479035b14d57340c881bd7e0a2f0f26b09f3a367 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1ca2a92b2a99323f666f1b669b7484df4bda05e4 (diff) |
pinctrl: qcom: disable GPIO groups with no pins
pinctrl-msm only accepts an array of GPIOs from 0 to n-1, and it expects
each group to support have only one pin (npins == 1).
We can support "sparse" GPIO maps if we allow for some groups to have zero
pins (npins == 0). These pins are "hidden" from the rest of the driver
and gpiolib.
Access to unavailable GPIOs is blocked via a request callback. If the
requested GPIO is unavailable, -EACCES is returned, which prevents
further access to that GPIO.
Signed-off-by: Timur Tabi <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions