diff options
| author | 2019-02-28 12:09:17 -0500 | |
|---|---|---|
| committer | 2019-03-19 13:49:40 -0400 | |
| commit | ab41b99e7e55c85f29ff7b54718ccbbe051905e7 (patch) | |
| tree | a393bbf7e70f9a4a5dcf7c60857a398f59a1522c /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | media: platform/sh_veu.c: remove redundant NULL pointer checks (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 <hugues.fruchet@st.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
