diff options
author | Lu, Han <han.lu@intel.com> | 2015-03-10 10:41:20 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-11 12:53:44 +0000 |
commit | 9449d39b990d6d3d6386fbb92f3b86c808157b47 (patch) | |
tree | 0a79034db8a736aa999bd1bfac86d5faa568b404 /sound/soc/intel/sst-haswell-ipc.h | |
parent | 357635ae0133ae66c4eac5b9ad4879b15faa5be8 (diff) |
ASoC: Intel: add function to load firmware image
Add a general method to load firmware image, and apply to base firmware
image loading. With the method, the driver will support loading multiple
different modules in order to support different features.
Signed-off-by: Lu, Han <han.lu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/sst-haswell-ipc.h')
-rw-r--r-- | sound/soc/intel/sst-haswell-ipc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/intel/sst-haswell-ipc.h b/sound/soc/intel/sst-haswell-ipc.h index 858096041cb1..e071b3a54eae 100644 --- a/sound/soc/intel/sst-haswell-ipc.h +++ b/sound/soc/intel/sst-haswell-ipc.h @@ -467,6 +467,12 @@ int sst_hsw_dsp_init(struct device *dev, struct sst_pdata *pdata); void sst_hsw_dsp_free(struct device *dev, struct sst_pdata *pdata); struct sst_dsp *sst_hsw_get_dsp(struct sst_hsw *hsw); +/* fw module function */ +void sst_hsw_init_module_state(struct sst_hsw *hsw); + +int sst_hsw_module_load(struct sst_hsw *hsw, + u32 module_id, u32 instance_id, char *name); + /* runtime module management */ struct sst_module_runtime *sst_hsw_runtime_module_create(struct sst_hsw *hsw, int mod_id, int offset); |