summaryrefslogtreecommitdiff
path: root/drivers/led
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2020-09-14 18:02:01 +0300
committerTom Rini <trini@konsulko.com>2020-10-08 18:42:36 +0300
commitb4167aa15ac13cbbd3948463d9d5f97fb98d2709 (patch)
treebc613fa2ad93e3a9b213b8aedb54671193ed1bfe /drivers/led
parent18dbb7b335c2b4d14f2d72d77bdd60c6e5ebd25f (diff)
downloadu-boot-b4167aa15ac13cbbd3948463d9d5f97fb98d2709.tar.xz
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>
Diffstat (limited to 'drivers/led')
0 files changed, 0 insertions, 0 deletions