diff options
author | Phil Reid <[email protected]> | 2019-07-16 08:24:37 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-07-25 09:18:21 +0200 |
commit | b918d1c2706619cb0712a61cc8c05148b68b24b2 (patch) | |
tree | c7c473ac8fae0dbd7695c5fec4eb1c0053f8fadb /tools/perf/util/trace-event-scripting.c | |
parent | dbc4f989c878fe101fb7920e9609e8ec44e097cd (diff) |
Staging: fbtft: Fix reset assertion when using gpio descriptor
Typically gpiod_set_value calls would assert the reset line and
then release it using the symantics of:
gpiod_set_value(par->gpio.reset, 0);
... delay
gpiod_set_value(par->gpio.reset, 1);
And the gpio binding would specify the polarity.
Prior to conversion to gpiod calls the polarity in the DT
was ignored and assumed to be active low. Fix it so that
DT polarity is respected.
Fixes: c440eee1a7a1 ("Staging: fbtft: Switch to the gpio descriptor interface")
Reviewed-by: Nicolas Saenz Julienne <[email protected]>
Tested-by: Nicolas Saenz Julienne <[email protected]>
Tested-by: Jan Sebastian Götte <[email protected]>
Signed-off-by: Phil Reid <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions