diff options
| author | Hugues Fruchet <[email protected]> | 2019-02-28 12:09:17 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-03-19 13:49:40 -0400 |
| commit | ab41b99e7e55c85f29ff7b54718ccbbe051905e7 (patch) | |
| tree | a393bbf7e70f9a4a5dcf7c60857a398f59a1522c /tools/perf/scripts/python/syscall-counts.py | |
| parent | 2c2a8dc32cebb71e42cfc2ed1bd433cbec792207 (diff) | |
media: stm32-dcmi: fix check of pm_runtime_get_sync return value
Start streaming was sometimes failing because of pm_runtime_get_sync()
non-0 return value. In fact return value was not an error but a
positive value (1), indicating that PM was already enabled.
Fix this by going to error path only with negative return value.
Signed-off-by: Hugues Fruchet <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions