ASoC: SOF: imx: Do not set the load_module ops
The used firmware loader (snd_sof_load_firmware_memcpy) can use the generic module loading, which is by default uses the same implementation as the snd_sof_parse_module_memcpy. No need to set the callback for iMX. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/20220425221129.124615-7-ranjani.sridharan@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
0da5f110c5
commit
499c55fe5f
|
@ -510,9 +510,8 @@ static struct snd_sof_dsp_ops sof_imx8_ops = {
|
||||||
.ipc_msg_data = sof_ipc_msg_data,
|
.ipc_msg_data = sof_ipc_msg_data,
|
||||||
.set_stream_data_offset = sof_set_stream_data_offset,
|
.set_stream_data_offset = sof_set_stream_data_offset,
|
||||||
|
|
||||||
/* module loading */
|
|
||||||
.load_module = snd_sof_parse_module_memcpy,
|
|
||||||
.get_bar_index = imx8_get_bar_index,
|
.get_bar_index = imx8_get_bar_index,
|
||||||
|
|
||||||
/* firmware loading */
|
/* firmware loading */
|
||||||
.load_firmware = snd_sof_load_firmware_memcpy,
|
.load_firmware = snd_sof_load_firmware_memcpy,
|
||||||
|
|
||||||
|
@ -572,9 +571,8 @@ static struct snd_sof_dsp_ops sof_imx8x_ops = {
|
||||||
.ipc_msg_data = sof_ipc_msg_data,
|
.ipc_msg_data = sof_ipc_msg_data,
|
||||||
.set_stream_data_offset = sof_set_stream_data_offset,
|
.set_stream_data_offset = sof_set_stream_data_offset,
|
||||||
|
|
||||||
/* module loading */
|
|
||||||
.load_module = snd_sof_parse_module_memcpy,
|
|
||||||
.get_bar_index = imx8_get_bar_index,
|
.get_bar_index = imx8_get_bar_index,
|
||||||
|
|
||||||
/* firmware loading */
|
/* firmware loading */
|
||||||
.load_firmware = snd_sof_load_firmware_memcpy,
|
.load_firmware = snd_sof_load_firmware_memcpy,
|
||||||
|
|
||||||
|
|
|
@ -436,9 +436,8 @@ static struct snd_sof_dsp_ops sof_imx8m_ops = {
|
||||||
.ipc_msg_data = sof_ipc_msg_data,
|
.ipc_msg_data = sof_ipc_msg_data,
|
||||||
.set_stream_data_offset = sof_set_stream_data_offset,
|
.set_stream_data_offset = sof_set_stream_data_offset,
|
||||||
|
|
||||||
/* module loading */
|
|
||||||
.load_module = snd_sof_parse_module_memcpy,
|
|
||||||
.get_bar_index = imx8m_get_bar_index,
|
.get_bar_index = imx8m_get_bar_index,
|
||||||
|
|
||||||
/* firmware loading */
|
/* firmware loading */
|
||||||
.load_firmware = snd_sof_load_firmware_memcpy,
|
.load_firmware = snd_sof_load_firmware_memcpy,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue