aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/intel
diff options
context:
space:
mode:
authorDan Carpenter2014-02-21 11:52:40 +0300
committerMark Brown2014-02-26 08:45:39 +0900
commit951e9bb1fa589177183af1696ecfd4e4d8d37cbf (patch)
treeefb40b85493d559a3acb0ba9d27d671e55a1d21b /sound/soc/intel
parent5069e5c93ca73eab185d3bb338a1362275f9ea70 (diff)
ASoC: Intel: sst-firmware: missing curly braces (harmless)
There were some curly braces intended here, but the code actually works the same either way so it's not a bug. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r--sound/soc/intel/sst-firmware.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/intel/sst-firmware.c b/sound/soc/intel/sst-firmware.c
index dee7eb5befb7..f7687107cf7f 100644
--- a/sound/soc/intel/sst-firmware.c
+++ b/sound/soc/intel/sst-firmware.c
@@ -293,7 +293,7 @@ static int block_module_prepare(struct sst_module *module)
/* enable each block so that's it'e ready for module P/S data */
list_for_each_entry(block, &module->block_list, module_list) {
- if (block->ops && block->ops->enable)
+ if (block->ops && block->ops->enable) {
ret = block->ops->enable(block);
if (ret < 0) {
dev_err(module->dsp->dev,
@@ -301,6 +301,7 @@ static int block_module_prepare(struct sst_module *module)
block->type, block->index);
goto err;
}
+ }
}
return ret;