ASoC: Intel: Store the entry_point read from FW file
authorJie Yang <yang.jie@intel.com>
Tue, 23 Dec 2014 01:24:50 +0000 (09:24 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 24 Dec 2014 12:14:49 +0000 (12:14 +0000)
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/sst-firmware.c

index 4a5bde9c686be2bbe967fcdd899f7c10f52a74c1..cad6ea179cea9d3c0aa587c84ad691fbeb1fafc6 100644 (file)
@@ -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);