aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorMichael Welling <[email protected]>2014-04-16 20:00:24 -0500
committerLinus Walleij <[email protected]>2014-05-09 10:28:16 +0200
commit99e4b98dbe3ad1fe38a74d12c3b8d44a55930de4 (patch)
tree209a4794bec9611e0c0255c5057a541fee6b209d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parenta7008ee1a423720e755e08f33b63669795c1f072 (diff)
gpio: mcp23s08: Bug fix of SPI device tree registration.
The chips variable needs to be incremented for each chip that is found in the spi_present_mask when registering via device tree. Without this and the checking a negative index is passed to the data->chip array in a subsequent loop. Cc: [email protected] Signed-off-by: Michael Welling <[email protected]> Acked-by: Peter Korsgaard <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions