commit | 67e6d3e83c18188bdc1467663c49787f8d4fdc0d | [log] [tgz] |
---|---|---|
author | Javier Arteaga <javier@emutex.com> | Tue Mar 06 13:42:13 2018 +0000 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Mar 23 04:07:22 2018 +0100 |
tree | e5f6a498296ea128d72f171ec6c371fdc05f2613 | |
parent | 86822c2f3a7c343cadcbebae1d5f7d75de1b3cfe [diff] |
pinctrl: intel: Implement intel_gpio_get_direction callback Allows querying GPIO direction from the pad config register. If the pad is not in GPIO mode, return an error. Signed-off-by: Javier Arteaga <javier@emutex.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>