commit | b4167aa15ac13cbbd3948463d9d5f97fb98d2709 | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Mon Sep 14 11:02:01 2020 -0400 |
committer | Tom Rini <trini@konsulko.com> | Thu Oct 08 11:42:36 2020 -0400 |
tree | bc613fa2ad93e3a9b213b8aedb54671193ed1bfe | |
parent | 18dbb7b335c2b4d14f2d72d77bdd60c6e5ebd25f [diff] |
gpio: dw: Return output value when direction is out dm_gpio_ops.get_value can be called when the gpio is either input or output. The current dw code always returns the input value, which is invalid if the direction is set to out. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>