diff options
author | Lu, Han <han.lu@intel.com> | 2015-02-25 03:26:21 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-07 00:08:12 +0300 |
commit | 3fe0607a04ed7deea7c048052fd63b8670e7a176 (patch) | |
tree | 0e07803925df6382da8544cc17f81bacfcf9c5dc /sound/soc/dwc/designware_i2s.c | |
parent | de251d773bb214fa5e7666a0da1225528e07da5e (diff) | |
download | linux-3fe0607a04ed7deea7c048052fd63b8670e7a176.tar.xz |
ASoC: Intel: remove conflicts when load/unload multiple firmware images
Details:
1. Unload all modules on fw_list of dsp when suspend, and reload all
modules on fw_list when resume.
2. A DSP expects only one scratch, but hsw_parse_fw_image() allocates
scratch blocks for each firmware image it parses. Move the allocate function
sst_block_alloc_scratch() out of hsw_parse_fw_image() to make sure a scratch
be allocated only after all firmware images be parsed.
Signed-off-by: Lu, Han <han.lu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/dwc/designware_i2s.c')
0 files changed, 0 insertions, 0 deletions