ASoC: SOF: Intel: hda-loader: use small buffer for iccmax stream
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Mon, 7 Nov 2022 07:26:21 +0000 (09:26 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 7 Nov 2022 13:58:24 +0000 (13:58 +0000)
commit36c6cdc07b517e88ccde8ebcc87bb5c59f2a0f4b
tree57b051e1eee69e216d01aa73fae1d9627cdcf9df
parent18cd1f3227768f4a76c4f7aa95c1256f07ce8647
ASoC: SOF: Intel: hda-loader: use small buffer for iccmax stream

The data received via iccmax stream is not used anywhere, so no need to
allocate a big DMA buffer for it. This is especially important as the
allocation is done even in cases where reload of the firmware is skipped
and execution happens directly from the firmware stored in IMR.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20221107072621.28904-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-loader.c