diff mbox

ASoC: Intel: Store the entry_point read from FW file

Message ID 1419297890-29290-1-git-send-email-yang.jie@intel.com (mailing list archive)
State Accepted
Commit 85b88a8dd0c758464f31a9758deb27b31c0d5de7
Headers show

Commit Message

Jie, Yang Dec. 23, 2014, 1:24 a.m. UTC
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.

Signed-off-by: Jie Yang <yang.jie@intel.com>
---
 sound/soc/intel/sst-firmware.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Mark Brown Dec. 24, 2014, 12:15 p.m. UTC | #1
On Tue, Dec 23, 2014 at 09:24:50AM +0800, Jie Yang wrote:
> 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.
diff mbox

Patch

diff --git a/sound/soc/intel/sst-firmware.c b/sound/soc/intel/sst-firmware.c
index ef2e8b5..50d6925 100644
--- a/sound/soc/intel/sst-firmware.c
+++ b/sound/soc/intel/sst-firmware.c
@@ -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);