projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48695f3
)
ASoC: Intel: Fix allocated block list usage when adding blocks.
author
Liam Girdwood
<liam.r.girdwood@linux.intel.com>
Fri, 2 May 2014 15:56:29 +0000
(16:56 +0100)
committer
Mark Brown
<broonie@linaro.org>
Fri, 2 May 2014 16:53:01 +0000
(09:53 -0700)
Make sure we add the allocated blocks to the modules list of blocks.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/sst-firmware.c
patch
|
blob
|
history
diff --git
a/sound/soc/intel/sst-firmware.c
b/sound/soc/intel/sst-firmware.c
index c4e7126ebc066971dc060836ccc3da8bc839c175..5fed75cef64f7c0dd4f693fccd54b09b00ed3f5b 100644
(file)
--- a/
sound/soc/intel/sst-firmware.c
+++ b/
sound/soc/intel/sst-firmware.c
@@
-202,6
+202,9
@@
static int block_alloc_contiguous(struct sst_module *module,
size -= block->size;
}
+ list_for_each_entry(block, &tmp, list)
+ list_add(&block->module_list, &module->block_list);
+
list_splice(&tmp, &dsp->used_block_list);
return 0;
}