ASoC: SOF: Intel: Do not use resource managed allocation for ipc4_data
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Wed, 29 Nov 2023 12:53:26 +0000 (14:53 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 29 Nov 2023 13:25:14 +0000 (13:25 +0000)
commit9b6896538ea71b7c24da1ecb38738a311176f6a8
tree4024f50d844083c83b06b9e9df2540319360b985
parenta5a65437b02df8b842c4620b0b776bcd91ce200a
ASoC: SOF: Intel: Do not use resource managed allocation for ipc4_data

Manage the ipc4_data allocation in code instead of devm since the ops_init
might be called more than once due to IPC type fallback.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20231129125327.23708-13-peter.ujfalusi@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/hda-dai.c
sound/soc/sof/intel/icl.c
sound/soc/sof/intel/lnl.c
sound/soc/sof/intel/mtl.c
sound/soc/sof/intel/skl.c
sound/soc/sof/intel/tgl.c