commit | 1941b4419a24e026ce8354a2fd40c9387577697e | [log] [tgz] |
---|---|---|
author | Venkat Reddy Talla <vreddytalla@nvidia.com> | Mon Jun 27 16:26:24 2016 +0530 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Jul 04 11:39:38 2016 +0200 |
tree | b7d12a264b45529a1530decd57a9b19734c27d41 | |
parent | 7eebe96f22e7968656a64458620f5cdabee8903c [diff] |
gpio: max77620: get gpio value based on direction Gpio direction is determined by DIRx bit of GPIO configuration register, return max77620 gpio value based on direction in or out. Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>