Skip to contentSkip to conversation

Patch "ASoC: Intel: Skylake: Release FW ctx in cleanup" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Aug 4, 2017

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ASoC: Intel: Skylake: Release FW ctx in cleanup

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
asoc-intel-skylake-release-fw-ctx-in-cleanup.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Fri Aug 4 15:30:10 PDT 2017

From: Jeeja KP <[email protected]>
Date: Mon, 2 Jan 2017 09:50:05 +0530
Subject: ASoC: Intel: Skylake: Release FW ctx in cleanup

From: Jeeja KP <[email protected]>

[ Upstream commit bc65a326c579e93a5c2120a65ede72f11369ee5a ]

Saved firmware ctx was not never released, so release Firmware ctx in cleanup routine.

---
 sound/soc/intel/skylake/skl-sst.c |    3 +++
 1 file changed, 3 insertions(+)
sound/soc/intel/skylake/skl-sst.c +3 -0
@@ -515,6 +515,9 @@ EXPORT_SYMBOL_GPL(skl_sst_init_fw);
 
 void skl_sst_dsp_cleanup(struct device *dev, struct skl_sst *ctx)
 {
+
+	if (ctx->dsp->fw)
+		release_firmware(ctx->dsp->fw);
 	skl_clear_module_table(ctx->dsp);
 	skl_freeup_uuid_list(ctx);
 	skl_ipc_free(&ctx->ipc);

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/asoc-intel-skylake-release-fw-ctx-in-cleanup.patch