summaryrefslogtreecommitdiff
path: root/sound/soc/intel/skylake/skl-sst.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2017-01-23 08:27:50 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-01-23 08:27:50 +0100
commitbbb43e385fac8d8926ca7e415d20e9dd07e529ce (patch)
treee493f3d528dbb3f40f769ed22ce292c950d76396 /sound/soc/intel/skylake/skl-sst.c
parentf1d77ecc547dc8b42fbe5c4bdb7b339c0eefbe0d (diff)
parent6cf4569ce3561dec560147e6051959d6896b23d1 (diff)
Merge remote-tracking branch 'takashi/for-linus' into drm-tip
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);