media: iris: Initialize HFI ops after firmware load in core init

The HFI sys ops were previously initialized in probe() but, we don't
have firmware loaded at probe time. Since HFI is tightly coupled to
firmware, initialize the HFI sys ops after firmware has been successfully
loaded and booted.

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
This commit is contained in:
Dikshita Agarwal 2026-05-29 17:36:54 +03:00 committed by Bryan O'Donoghue
parent 56f93da11a
commit 3395d75263
2 changed files with 2 additions and 1 deletions

View File

@ -74,6 +74,8 @@ int iris_core_init(struct iris_core *core)
if (ret)
goto error_unload_fw;
core->iris_firmware_data->init_hfi_ops(core);
ret = iris_hfi_core_init(core);
if (ret)
goto error_unload_fw;

View File

@ -266,7 +266,6 @@ static int iris_probe(struct platform_device *pdev)
return ret;
iris_init_ops(core);
core->iris_firmware_data->init_hfi_ops(core);
ret = iris_init_resources(core);
if (ret)