commit | e8dacf5957ea583c2a1f48600043a6f76e340d1e | [log] [tgz] |
---|---|---|
author | Baruch Siach <baruch@tkos.co.il> | Thu Jan 10 14:26:21 2019 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jan 10 16:19:11 2019 +0100 |
tree | 3eaaa16bb1e8cbcf4be122576ed586991b62a8ee | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c [diff] |
gpio: mvebu: implement get_direction struct gpio_chip documentation recommends to always implement this callback function. A more concrete motivation is to be able (in combination with GPIOD_ASIS) to detect whether the bootloader has changed the state of a GPIO signal. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>