]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: HDA: Set up sof_ipc4_fw_data for IPC4
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Wed, 11 May 2022 17:16:48 +0000 (10:16 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 12 May 2022 10:41:30 +0000 (11:41 +0100)
commit50015106e00750b2b0be9860e3d3566b7244fba5
treee68d9ef2446c6e4b5dfa835d1bc8501cd42c124e
parentdd8ea46e8b84950829e2b24fe2b2c5c6e11ea809
ASoC: SOF: Intel: HDA: Set up sof_ipc4_fw_data for IPC4

Allocate the sof_ipc4_fw_data struct for IPC4 and set the fw header offset
for the platforms which will be used by the core when loading the firmware
image.

The core expects that the "private" field in struct snd_sof_dev (which is
unused today with IPC3) is used to save this data.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220511171648.1622993-6-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/apl.c
sound/soc/sof/intel/cnl.c
sound/soc/sof/intel/tgl.c