commit | db3b0fcc5adbda0c7060c9298c2514778547fee2 | [log] [tgz] |
---|---|---|
author | Philipp Zabel <p.zabel@pengutronix.de> | Fri Jun 12 18:20:35 2015 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jul 16 00:11:02 2015 +0200 |
tree | 39e1ee04c0979833fc2cc09156857cfba9fd8c44 | |
parent | bc0195aad0daa2ad5b0d76cce22b167bc3435590 [diff] |
gpio: generic: add get_direction support Allow to determine the current direction configuration by reading back from the direction register. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>