diff options
author | Rob Herring <[email protected]> | 2024-02-23 17:07:51 -0700 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-02-26 13:47:05 +0000 |
commit | efe9a6da2292e68d45cd9e0eb1c31b85841d0c2a (patch) | |
tree | 6b34ebccf395bbe200cc1410d097487a739daea6 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | b9262cc1b988cdaf9bb5c2a4411d4ad4e7128e8d (diff) |
regulator: dt-bindings: gpio-regulator: Fix "gpios-states" and "states" array bounds
The minimum number of array entries for "gpios-states" was not not
specified, so the the default is the same as the max (8).
The minimum is also missing from "states", and the maximum is also wrong
as it should be 2^(# of GPIO lines). Since there can be 1 to 8 GPIOs,
the "states" range should be 2 to 256.
Signed-off-by: Rob Herring <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions