diff options
author | Remi Pommarel <[email protected]> | 2019-09-01 15:39:15 +0200 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2019-10-15 14:57:32 +0100 |
commit | 4d3186a525b3f6af7d5f468e94b79b9e92cf3853 (patch) | |
tree | 5f70067bca4ae53efe7490e2a1c73ba0e1ec0b15 /tools/perf/util/trace-event-scripting.c | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff) |
PCI: amlogic: Fix reset assertion via gpio descriptor
Normally asserting reset signal on gpio would be achieved with:
gpiod_set_value_cansleep(reset_gpio, 1);
Meson PCI driver set reset value to '0' instead of '1' as it takes into
account the PERST# signal polarity. The polarity should be taken care
in the device tree instead.
This fixes the reset assertion meaning and moves out the polarity
configuration in DT (please note that there is no DT currently using
this driver).
Signed-off-by: Remi Pommarel <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Martin Blumenstingl <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions