summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/skylake/skl-sst.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-01-10 11:47:47 +0100
committerMark Brown <broonie@kernel.org>2017-01-10 11:47:47 +0100
commit7dfe7e18b5585719a5cc0da8bf3bf4490b36724a (patch)
tree92ebcb193b456c6a7f5d233dcf8e3949f981257e /sound/soc/intel/skylake/skl-sst.c
parentMerge remote-tracking branch 'asoc/fix/component' into asoc-linus (diff)
parentASoC: Intel: Skylake: Release FW ctx in cleanup (diff)
downloadlinux-7dfe7e18b5585719a5cc0da8bf3bf4490b36724a.tar.xz
linux-7dfe7e18b5585719a5cc0da8bf3bf4490b36724a.zip
Merge remote-tracking branch 'asoc/fix/intel' into asoc-linus
Diffstat (limited to 'sound/soc/intel/skylake/skl-sst.c')
-rw-r--r--sound/soc/intel/skylake/skl-sst.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-sst.c b/sound/soc/intel/skylake/skl-sst.c
index 8fc3178bc79c..b30bd384c8d3 100644
--- 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);