summaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorStanimir Varbanov <stanimir.varbanov@linaro.org>2020-12-04 11:01:39 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-01-13 09:08:18 +0100
commite922a33e0228fa314ffc4f70b3b9ffbc4aad1bbe (patch)
tree733247238420cd5d5434b9ebd6dbbc263abff25e /scripts/stackusage
parent7f339fdc3756e193136a167bfcfdfbfdaec42306 (diff)
downloadcachepc-linux-e922a33e0228fa314ffc4f70b3b9ffbc4aad1bbe.tar.gz
cachepc-linux-e922a33e0228fa314ffc4f70b3b9ffbc4aad1bbe.zip
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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions