mirror of
https://github.com/torvalds/linux.git
synced 2026-04-26 18:42:25 -04:00
ASoC: SOF: Use generic names for IPC types
Use the new SOF_IPC_TYPE_3, SOF_IPC_TYPE_4 in core code. No functional changes, just renaming. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20230919104226.32239-5-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
82f4b38382
commit
ebe18b1587
@@ -64,17 +64,17 @@ int sof_of_probe(struct platform_device *pdev)
|
||||
|
||||
sof_pdata->desc = desc;
|
||||
sof_pdata->dev = &pdev->dev;
|
||||
sof_pdata->fw_filename = desc->default_fw_filename[SOF_IPC];
|
||||
sof_pdata->fw_filename = desc->default_fw_filename[SOF_IPC_TYPE_3];
|
||||
|
||||
if (fw_path)
|
||||
sof_pdata->fw_filename_prefix = fw_path;
|
||||
else
|
||||
sof_pdata->fw_filename_prefix = sof_pdata->desc->default_fw_path[SOF_IPC];
|
||||
sof_pdata->fw_filename_prefix = desc->default_fw_path[SOF_IPC_TYPE_3];
|
||||
|
||||
if (tplg_path)
|
||||
sof_pdata->tplg_filename_prefix = tplg_path;
|
||||
else
|
||||
sof_pdata->tplg_filename_prefix = sof_pdata->desc->default_tplg_path[SOF_IPC];
|
||||
sof_pdata->tplg_filename_prefix = desc->default_tplg_path[SOF_IPC_TYPE_3];
|
||||
|
||||
/* set callback to be called on successful device probe to enable runtime_pm */
|
||||
sof_pdata->sof_probe_complete = sof_of_probe_complete;
|
||||
|
||||
Reference in New Issue
Block a user