projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ed625b
)
ASoC: sst_platform: unregister sst card when being closed
author
Lu Guanqun
<guanqun.lu@intel.com>
Wed, 6 Apr 2011 02:20:37 +0000
(10:20 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 6 Apr 2011 14:15:23 +0000
(23:15 +0900)
Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/mid-x86/sst_platform.c
patch
|
blob
|
history
diff --git
a/sound/soc/mid-x86/sst_platform.c
b/sound/soc/mid-x86/sst_platform.c
index 848ad3ce732e6fc47ccb39596a5a1c299228d75c..9ba941447d41e278b69eeeba0de5da7b2e546d7b 100644
(file)
--- a/
sound/soc/mid-x86/sst_platform.c
+++ b/
sound/soc/mid-x86/sst_platform.c
@@
-271,6
+271,7
@@
static int sst_platform_close(struct snd_pcm_substream *substream)
str_id = stream->stream_info.str_id;
if (str_id)
ret_val = stream->sstdrv_ops->pcm_control->close(str_id);
+ unregister_sst_card(stream->sstdrv_ops);
kfree(stream->sstdrv_ops);
kfree(stream);
return ret_val;