summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/skylake
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-10-27 22:33:15 +0100
committerMark Brown <broonie@kernel.org>2023-10-27 22:33:15 +0100
commitbdb7e1922052b1e7fcce63e2cfa195958ff97e05 (patch)
treec879f48a63f2680d6d09390e549c3c072be0ed43 /sound/soc/intel/skylake
parent0262a8a079896440fab98844124a951d85b63166 (diff)
parent805ce81826c896dd3c351a32814b28557f9edf54 (diff)
downloadlinux-stable-bdb7e1922052b1e7fcce63e2cfa195958ff97e05.tar.gz
linux-stable-bdb7e1922052b1e7fcce63e2cfa195958ff97e05.tar.bz2
linux-stable-bdb7e1922052b1e7fcce63e2cfa195958ff97e05.zip
ASoC: Merge up workaround for CODECs that play noise on stopped stream
This was sent too late to actually make it for v6.6 but was sent against v6.6 so merge it up here.
Diffstat (limited to 'sound/soc/intel/skylake')
-rw-r--r--sound/soc/intel/skylake/skl-sst-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-sst-utils.c b/sound/soc/intel/skylake/skl-sst-utils.c
index 57ea815d3f04..b776c58dcf47 100644
--- a/sound/soc/intel/skylake/skl-sst-utils.c
+++ b/sound/soc/intel/skylake/skl-sst-utils.c
@@ -299,6 +299,7 @@ int snd_skl_parse_uuids(struct sst_dsp *ctx, const struct firmware *fw,
module->instance_id = devm_kzalloc(ctx->dev, size, GFP_KERNEL);
if (!module->instance_id) {
ret = -ENOMEM;
+ kfree(module);
goto free_uuid_list;
}