summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStanimir Varbanov <stanimir.varbanov@linaro.org>2020-12-04 13:01:39 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-01-13 11:08:18 +0300
commite922a33e0228fa314ffc4f70b3b9ffbc4aad1bbe (patch)
tree733247238420cd5d5434b9ebd6dbbc263abff25e /tools/perf/scripts/python
parent7f339fdc3756e193136a167bfcfdfbfdaec42306 (diff)
downloadlinux-e922a33e0228fa314ffc4f70b3b9ffbc4aad1bbe.tar.xz
media: venus: hfi: Correct session init return error
The hfi_session_init can be called many times and it returns EINVAL when the session was already initialized. This error code (EINVAL) is confusing for the callers. Change hfi_session_init to return EALREADY error code when the session has been already initialized. Tested-by: Fritz Koenig <frkoenig@chromium.org> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions