diff options
author | Timur Tabi <timur@codeaurora.org> | 2017-02-10 17:21:00 -0600 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-03-06 14:38:05 +0100 |
commit | 8e51533780ba223a3562ff4382c6b6f350c7e9a4 (patch) | |
tree | 02b1881346ea5ecfd25eafb2e07c38c9849b15f5 /.gitattributes | |
parent | c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff) |
pinctrl: qcom: add get_direction function
The get_direction callback function allows gpiolib to know the current
direction (input vs output) for a given GPIO.
This is particularly useful on ACPI systems, where the GPIOs are
configured only by firmware (typically UEFI), so the only way to
know the initial values to query the hardware directly. Without
this function, gpiolib thinks that all GPIOs are configured for
input.
Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions