Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 951e9bb1 authored by Dan Carpenter's avatar Dan Carpenter Committed by Mark Brown
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarLiam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 5069e5c9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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,
@@ -302,6 +302,7 @@ static int block_module_prepare(struct sst_module *module)
				goto err;
			}
		}
	}
	return ret;

err: