diff options
| author | Sean Anderson <[email protected]> | 2020-09-14 11:02:01 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-10-08 11:42:36 -0400 |
| commit | b4167aa15ac13cbbd3948463d9d5f97fb98d2709 (patch) | |
| tree | bc613fa2ad93e3a9b213b8aedb54671193ed1bfe /scripts/basic | |
| 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 <[email protected]>
Reviewed-by: Ley Foon Tan <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
