aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2020-09-09 12:43:04 +0300
committerMark Brown <[email protected]>2020-09-09 15:11:44 +0100
commitc170a5a3b6944ad8e76547c4a1d9fe81c8f23ac8 (patch)
treecef75f0334a67eb5bb5eae0ddbe79f6a7e6b834f /tools/perf/util/trace-event-scripting.c
parentb59a7ca15464c78ea1ba3b280cfc5ac5ece11ade (diff)
spi: stm32: fix pm_runtime_get_sync() error checking
The pm_runtime_get_sync() can return either 0 or 1 on success but this code treats 1 as a failure. Fixes: db96bf976a4f ("spi: stm32: fixes suspend/resume management") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Alain Volmat <[email protected]> Link: https://lore.kernel.org/r/20200909094304.GA420136@mwanda Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions