Home
last modified time | relevance | path

Searched hist:e922a33e0228fa314ffc4f70b3b9ffbc4aad1bbe (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/media/platform/qcom/venus/
H A Dhfi.cdiff e922a33e0228fa314ffc4f70b3b9ffbc4aad1bbe Fri Dec 04 04:01:39 CST 2020 Stanimir Varbanov <stanimir.varbanov@linaro.org> 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>
H A Dvenc.cdiff e922a33e0228fa314ffc4f70b3b9ffbc4aad1bbe Fri Dec 04 04:01:39 CST 2020 Stanimir Varbanov <stanimir.varbanov@linaro.org> 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>
H A Dvdec.cdiff e922a33e0228fa314ffc4f70b3b9ffbc4aad1bbe Fri Dec 04 04:01:39 CST 2020 Stanimir Varbanov <stanimir.varbanov@linaro.org> 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>