stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patch "ASoC: Intel: Skylake: Release FW ctx in cleanup" has been added to the 4.9-stable tree
@ 2017-08-04 22:33 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2017-08-04 22:33 UTC (permalink / raw)
  To: jeeja.kp, alexander.levin, broonie, gregkh, vinod.koul
  Cc: stable, stable-commits


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 <stable@vger.kernel.org> know about it.


>From foo@baz Fri Aug  4 15:30:10 PDT 2017
From: Jeeja KP <jeeja.kp@intel.com>
Date: Mon, 2 Jan 2017 09:50:05 +0530
Subject: ASoC: Intel: Skylake: Release FW ctx in cleanup

From: Jeeja KP <jeeja.kp@intel.com>


[ Upstream commit bc65a326c579e93a5c2120a65ede72f11369ee5a ]

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

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 sound/soc/intel/skylake/skl-sst.c |    3 +++
 1 file changed, 3 insertions(+)

--- a/sound/soc/intel/skylake/skl-sst.c
+++ b/sound/soc/intel/skylake/skl-sst.c
@@ -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 jeeja.kp@intel.com are

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-04 22:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-04 22:33 Patch "ASoC: Intel: Skylake: Release FW ctx in cleanup" has been added to the 4.9-stable tree gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).