OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60448b0
)
ASoC: Intel: Skylake: Release FW ctx in cleanup
author
Jeeja KP
<jeeja.kp@intel.com>
Mon, 2 Jan 2017 04:20:05 +0000
(09:50 +0530)
committer
Mark Brown
<broonie@kernel.org>
Fri, 6 Jan 2017 18:14:58 +0000
(18:14 +0000)
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>
sound/soc/intel/skylake/skl-sst.c
patch
|
blob
|
history
diff --git
a/sound/soc/intel/skylake/skl-sst.c
b/sound/soc/intel/skylake/skl-sst.c
index
8fc3178
..
b30bd38
100644
(file)
--- 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);