Skip to contentSkip to conversation

ASoC: Intel: Store the entry_point read from FW file

PATCH Applied Jie Yang 2 participants 2 messages Dec 23, 2014 – Dec 24, 2014

Subsystems (3)
lore
Share & tools
lore

Jie Yang

author
#0 lore raw

PATCH 1/1 ASoC: Intel: Store the entry_point read from FW file

To enable some modules from other than base FW, according to FW interface spec, we need pass the correct entry point param to FW, so here store the entry_point read from FW file for later usage.

---
 sound/soc/intel/sst-firmware.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/intel/sst-firmware.c +1 -0
index ef2e8b5..50d6925 100644
@@ -497,6 +497,7 @@ struct sst_module *sst_module_new(struct sst_fw *sst_fw,
 	sst_module->sst_fw = sst_fw;
 	sst_module->scratch_size = template->scratch_size;
 	sst_module->persistent_size = template->persistent_size;
+	sst_module->entry = template->entry;
 
 	INIT_LIST_HEAD(&sst_module->block_list);
 	INIT_LIST_HEAD(&sst_module->runtime_list);
Signature · 1 line
1.9.1
maintainer Applied
#1 lore raw
Quoted 4 lines · Jie Yang

To enable some modules from other than base FW, according to FW interface spec, we need pass the correct entry point param to FW, so here store the entry_point read from FW file for later usage.

Applied, thanks.