mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 15:09:50 -04:00
media: venus: hfi: support session continue for 4xx version
This makes possible to handle session_continue for 4xx as well. Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Reviewed-by: Tomasz Figa <tfiga@chromium.org> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Tested-by: Alexandre Courbot <acourbot@chromium.org> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
6b183680dd
commit
2074b9bed6
@@ -312,7 +312,7 @@ int hfi_session_continue(struct venus_inst *inst)
|
||||
{
|
||||
struct venus_core *core = inst->core;
|
||||
|
||||
if (core->res->hfi_version != HFI_VERSION_3XX)
|
||||
if (core->res->hfi_version == HFI_VERSION_1XX)
|
||||
return 0;
|
||||
|
||||
return core->ops->session_continue(inst);
|
||||
|
||||
Reference in New Issue
Block a user