aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorTony Lindgren <[email protected]>2015-09-03 10:31:27 -0700
committerLinus Walleij <[email protected]>2015-09-14 09:12:04 +0200
commit46d4f7c25e1bb59b1663878b843a7ec06eaf5806 (patch)
tree70bc3bf46d49224b26c1aab1779706dfc6568dad /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentae80d64ee8c88b77c58254bcdc5c0981faab672d (diff)
gpio: omap: Fix GPIO numbering for deferred probe
If gpio-omap probe fails with -EPROBE_DEFER, the GPIO numbering keeps increasing. Only increase the gpio count if gpiochip_add() was successful as otherwise the numbers will increase for each probe attempt. Cc: Javier Martinez Canillas <[email protected]> Cc: Kevin Hilman <[email protected]> Cc: Santosh Shilimkar <[email protected]> Reviewed-by: Grygorii Strashko <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions