summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2017-11-22 21:27:31 +0100
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>2017-12-01 16:21:18 +0100
commitbf59fddde1c3eab89eb8dca8f3d3dc097887d2bb (patch)
treea54593db667e270fb3dea5aacc93f66e4c53d070 /tools/perf/scripts/python/call-graph-from-sql.py
parentf46b151ede8668cb824a836e82303e1123f5f9f6 (diff)
power: supply: ab8500_charger: Fix an error handling path
'ret' is know to be 0 at this point, because it has not been updated by the the previous call to 'abx500_mask_and_set_register_interruptible()'. Fix it by updating 'ret' before checking if an error occurred. Fixes: 84edbeeab67c ("ab8500-charger: AB8500 charger driver") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions