diff options
| author | Stanimir Varbanov <[email protected]> | 2020-12-04 11:01:39 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-01-13 09:08:18 +0100 |
| commit | e922a33e0228fa314ffc4f70b3b9ffbc4aad1bbe (patch) | |
| tree | 733247238420cd5d5434b9ebd6dbbc263abff25e /tools/perf/scripts/python | |
| parent | 7f339fdc3756e193136a167bfcfdfbfdaec42306 (diff) | |
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 <[email protected]>
Signed-off-by: Stanimir Varbanov <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions