aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorHelen Koike <[email protected]>2020-03-16 22:00:43 +0100
committerMauro Carvalho Chehab <[email protected]>2020-04-21 17:01:30 +0200
commit60e915354c27035717d95af4465cfa1b42b9240a (patch)
treeb888abcc3012eb51655995426d5474c3b801f026 /tools/perf/scripts/python/event_analyzing_sample.py
parentb2b1046f1de6263e6281d46fd376ee048f09d013 (diff)
media: staging: rkisp1: cap: fix return values from pm functions
If no errors occurs, pm functions return usage counters, so they can return positive numbers. This happens when streaming from multiple capture devices (mainpath and selfpath). Fix simultaneous streaming from mainpath and selfpath by not failing when pm usage counters returns a positive number. Signed-off-by: Helen Koike <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions