projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de30a2c
)
ASoC: Intel: Fix block allocation so we only allocate blocks once.
author
Liam Girdwood
<liam.r.girdwood@linux.intel.com>
Fri, 2 May 2014 15:56:27 +0000
(16:56 +0100)
committer
Mark Brown
<broonie@linaro.org>
Fri, 2 May 2014 16:51:58 +0000
(09:51 -0700)
Make sure we dont alloc blocks twice with requests spanning more
than one block.
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
f768710
..
c4e7126
100644
(file)
--- a/
sound/soc/intel/sst-firmware.c
+++ b/
sound/soc/intel/sst-firmware.c
@@
-376,10
+376,6
@@
static int block_alloc_fixed(struct sst_module *module,
if (err < 0)
return -ENOMEM;
- /* add block */
- block->data_type = data->data_type;
- list_move(&block->list, &dsp->used_block_list);
- list_add(&block->module_list, &module->block_list);
return 0;
}