mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
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:
parent
56f93da11a
commit
3395d75263
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user